We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25f7412 commit 28c7e07Copy full SHA for 28c7e07
.github/workflows/ci.yml
@@ -17,10 +17,18 @@ jobs:
17
runs-on: ubuntu-latest
18
steps:
19
- uses: actions/checkout@v4
20
- - uses: dtolnay/rust-toolchain@master
+ - name: toolchain
21
+ uses: dtolnay/rust-toolchain@stable
22
with:
23
toolchain: nightly
24
components: rustfmt, clippy
25
+ - name: cache
26
+ uses: actions/cache@v4
27
+ with:
28
+ path: |
29
+ ~/.cargo
30
+ target
31
+ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-rustc-${{ steps.toolchain.outputs.cachekey }}
32
- name: cargo test
33
run: cargo test --lib --bins --tests
34
- name: cargo fmt
0 commit comments