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

ci: avoid installing cargo-cache twice #4648

Merged
merged 2 commits into from
Jul 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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