File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 steps :
1919 - uses : actions/checkout@v6
2020 - uses : dtolnay/rust-toolchain@stable
21+ - name : Cache .cargo and target
22+ uses : actions/cache@v4
23+ with :
24+ path : |
25+ ~/.cargo
26+ ./target
27+ key : cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
28+ - run : cargo update
2129 - run : cargo test
2230 - run : cargo fmt --all --check
2331 - run : cargo clippy --all-targets --all-features -- -D warnings
Original file line number Diff line number Diff line change 1919 steps :
2020 - uses : actions/checkout@v6
2121 - uses : dtolnay/rust-toolchain@stable
22+ - name : Cache .cargo and target
23+ uses : actions/cache@v4
24+ with :
25+ path : |
26+ ~/.cargo
27+ ./target
28+ key : cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
29+ - run : cargo update
2230 - uses : rust-lang/crates-io-auth-action@v1
2331 id : auth
2432 - name : Publish crate
You can’t perform that action at this time.
0 commit comments