File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,11 +15,10 @@ jobs:
1515 runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@v4
18- - name : Cache cargo registry, git, bin, and target
18+ - name : Cache cargo registry, git, and target dirs
1919 uses : actions/cache@v4
2020 with :
2121 path : |
22- ~/.cargo/bin
2322 ~/.cargo/registry
2423 ~/.cargo/git
2524 target
2827 - name : Install nightly + rustfmt
2928 run : rustup update nightly && rustup default nightly && rustup component add rustfmt clippy
3029 - name : Install dylint
31- run : cargo install --locked cargo-dylint@5.0.0 dylint-link@5.0.0
30+ uses : baptiste0928/cargo-install@v3
31+ with :
32+ crate : cargo-dylint
33+ version : 5.0.0
34+ - name : Install dylint-link
35+ uses : baptiste0928/cargo-install@v3
36+ with :
37+ crate : dylint-link
38+ version : 5.0.0
3239 - name : Format
3340 run : cargo fmt --check
3441 - name : Build
You can’t perform that action at this time.
0 commit comments