Skip to content

Commit

Permalink
Use nightly cargo to install cargo-cache
Browse files Browse the repository at this point in the history
Stable cargo install still errors when packages exists, instead of updating it
  • Loading branch information
flip1995 committed Feb 12, 2020
1 parent 2745346 commit a0a21a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@ jobs:
# Cleanup
- name: Run cargo-cache --autoclean
run: |
cargo install cargo-cache --debug
cargo +nightly install cargo-cache --debug
find ~/.cargo/bin ! -type d -exec strip {} \;
cargo cache --autoclean
6 changes: 3 additions & 3 deletions .github/workflows/clippy_bors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ jobs:
# Cleanup
- name: Run cargo-cache --autoclean
run: |
cargo install cargo-cache --debug
cargo +nightly install cargo-cache --debug
/usr/bin/find ~/.cargo/bin ! -type d -exec strip {} \;
cargo cache --autoclean
shell: bash
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
# Cleanup
- name: Run cargo-cache --autoclean
run: |
cargo install cargo-cache --debug
cargo +nightly install cargo-cache --debug
find ~/.cargo/bin ! -type d -exec strip {} \;
cargo cache --autoclean
integration:
Expand Down Expand Up @@ -297,7 +297,7 @@ jobs:
# Cleanup
- name: Run cargo-cache --autoclean
run: |
cargo install cargo-cache --debug
cargo +nightly install cargo-cache --debug
find ~/.cargo/bin ! -type d -exec strip {} \;
cargo cache --autoclean
Expand Down

0 comments on commit a0a21a8

Please sign in to comment.