File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - main
77
8+ permissions :
9+ contents : read
10+
811concurrency :
912 group : ${{ github.workflow }}-${{ github.ref }}
1013 cancel-in-progress : false
@@ -13,21 +16,17 @@ jobs:
1316 website-build :
1417 name : Build Website
1518 runs-on : ubuntu-latest
19+
1620 steps :
1721 - uses : actions/checkout@v4
1822 with :
1923 fetch-depth : 0
2024
2125 - name : Set up Rust toolchain
22- run : |
23- rustup toolchain install stable --no-self-update --profile minimal
24- rustup target add wasm32-unknown-unknown
25-
26- - name : Set up Rust cache
27- uses : swatinem/rust-cache@v2
26+ uses : actions-rust-lang/setup-rust-toolchain@v1
2827 with :
29- cache-on-failure : true
30- save-if : ${{ github.ref == 'refs/heads/main' }}
28+ components : clippy, rustfmt
29+ target : wasm32-unknown-unknown
3130
3231 - name : Install Cargo Binary Install
3332 uses : cargo-bins/cargo-binstall@main
@@ -54,10 +53,12 @@ jobs:
5453 needs : website-build
5554 if : github.ref == 'refs/heads/main'
5655 runs-on : ubuntu-latest
56+
5757 permissions :
5858 contents : read
5959 pages : write
6060 id-token : write
61+
6162 steps :
6263 - uses : actions/checkout@v4
6364 with :
You can’t perform that action at this time.
0 commit comments