Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
ci: avoid installing cargo-cache twice (#4648)
Browse files Browse the repository at this point in the history
* refactor: fix indent

* ci: avoid installing `cargo-cache` twice
  • Loading branch information
TaKO8Ki committed Jul 2, 2023
1 parent 60ee106 commit e18ebe6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Run tests on ${{ matrix.os }}
run: cargo nextest run --workspace --verbose
- name: Clean cache
run: cargo install cargo-cache --no-default-features --features ci-autoclean && cargo-cache
run: cargo cache --autoclean

documentation:
name: Documentation
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-latest]

steps:
# ref: https://github.com/orgs/community/discussions/26952
Expand All @@ -136,4 +136,4 @@ jobs:
continue-on-error: true
run: cargo coverage
- name: Clean cache
run: cargo install cargo-cache --no-default-features --features ci-autoclean && cargo-cache
run: cargo cache --autoclean
2 changes: 1 addition & 1 deletion .github/workflows/parser_conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ jobs:
${{ steps.comparison.outputs.comment }}
- name: Clean cache
run: cargo install cargo-cache --no-default-features --features ci-autoclean && cargo-cache
run: cargo cache --autoclean

0 comments on commit e18ebe6

Please sign in to comment.