Skip to content

Commit

Permalink
Add comments explaining latest-matrix-sdk-crypto workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andybalaam committed Oct 25, 2024
1 parent c3a3032 commit f5ec776
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ jobs:
with:
save-if: ${{ github.ref == 'refs/heads/main' }}

# Keep this in sync with:
# .github/workflows/latest-matrix-sdk-crypto.yml
# .github/workflows/release.yml
- name: Install Node.js
uses: actions/setup-node@v3
with:
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/latest-matrix-sdk-crypto.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
name: Build against latest matrix-sdk-crypto

# Runs a nightly job that builds this project against the latest version of
# matrix-sdk-crypto to find out whether some changes there have modified
# interfaces we are relying on.
#
# It does this by effectively doing:
#
# cargo update matrix-sdk-crypto
# yarn build
#
# If the build fails, this action:
#
# * creates an issue in this project's repo (or updates an existing open issue)
# * adds a comment to the issue linking to the specific build failure
# * sends a message to the Crypto team's Matrix room

on:
workflow_dispatch:
schedule:
# Run this task every day at 01:22 UTC
- cron: '22 1 * * *'

concurrency:
Expand Down Expand Up @@ -41,6 +57,9 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
# Keep this in sync with:
# .github/workflows/ci.yml
# .github/workflows/release.yml
node-version: 20.0

- name: Install yarn
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
with:
targets: wasm32-unknown-unknown

# Keep this in sync with:
# .github/workflows/ci.yml
# .github/workflows/latest-matrix-sdk-crypto.yml
- name: Install Node.js
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit f5ec776

Please sign in to comment.