Skip to content

Commit 47cb89e

Browse files
committed
chore: Use cargo-install action to install package
1 parent 454c373 commit 47cb89e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ 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
24+
~/.cargo/bin
2525
target
2626
tests/target
2727
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
2828
- name: Install nightly + rustfmt
2929
run: rustup update nightly && rustup default nightly && rustup component add rustfmt clippy
3030
- name: Install dylint
31-
run: cargo install --locked cargo-dylint@5.0.0 dylint-link@5.0.0
31+
run: cargo install --locked --force cargo-dylint@5.0.0 dylint-link@5.0.0
3232
- name: Format
3333
run: cargo fmt --check
3434
- name: Build

0 commit comments

Comments
 (0)