File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 # if the workflow uses '.'
3434 - name : Checkout repo
3535 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
36+ with :
37+ persist-credentials : false
3638 - name : Resolve branches
3739 shell : bash
3840 # these env vars will be modified and used in subsequent steps
@@ -128,9 +130,10 @@ jobs:
128130 # which we then pass to rebuild_rust_sdk.sh
129131 - name : Setup | Rust
130132 if : ${{ inputs.use_rust_sdk != '' }}
131- uses : dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable v1.93.1
132- with :
133- toolchain : stable
133+ run : |
134+ rustup --version
135+ rustup toolchain install 1.93.1
136+ rustup default 1.93.1
134137 - name : " Download Rust SDK" # no need to download rust SDK if we are using the local checkout.
135138 if : ${{ inputs.use_rust_sdk != '' && inputs.use_rust_sdk != '.'}}
136139 run : |
Original file line number Diff line number Diff line change 11name : Tests
22
3+ permissions :
4+ contents : read
5+
36on :
47 push :
58 branches : ["main"]
912jobs :
1013 check-signoff :
1114 if : " github.event_name == 'pull_request'"
12- uses : " matrix-org/backend-meta/.github/workflows/sign-off.yml@v2 "
15+ uses : matrix-org/backend-meta@18beaf3c8e536108bd04d18e6c3dc40ba3931e28 # v2
1316
1417 js-latest-main :
1518 name : Tests (JS only, latest)
3033 runs-on : ubuntu-22.04
3134 steps :
3235 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
36+ with :
37+ persist-credentials : false
3338
3439 # Install Node, Go and Rust, along with gotestfmt
3540 - name : Setup | Node.js LTS
4348 with :
4449 go-version : " 1.21"
4550 - name : Setup | Rust
46- uses : dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable v1.93.1
47- with :
48- toolchain : stable
51+ run : |
52+ rustup --version
53+ rustup toolchain install stable
54+ rustup default stable
4955 - name : Checkout matrix-rust-sdk
5056 run : |
5157 BRANCH=$(./.github/workflows/resolve_branch.sh matrix-org/matrix-rust-sdk)
You can’t perform that action at this time.
0 commit comments