We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97517ca commit fc7ad1aCopy full SHA for fc7ad1a
.github/workflows/ci.yml
@@ -6,6 +6,9 @@ on:
6
branches:
7
- main
8
9
+permissions:
10
+ contents: read
11
+
12
env:
13
RUSTFLAGS: '-Dwarnings'
14
@@ -19,13 +22,10 @@ jobs:
19
22
uses: actions/checkout@v4
20
23
21
24
- name: Set up Rust toolchain
- run: rustup toolchain install stable --no-self-update --profile default --target wasm32-unknown-unknown
-
- - name: Set up Rust cache
25
- uses: swatinem/rust-cache@v2
+ uses: actions-rust-lang/setup-rust-toolchain@v1
26
with:
27
- cache-on-failure: true
28
- save-if: ${{ github.ref == 'refs/heads/main' }}
+ components: clippy, rustfmt
+ target: wasm32-unknown-unknown
29
30
- name: Check formatting
31
run: cargo fmt --all --check
0 commit comments