Skip to content

Commit

Permalink
Configure rust-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Feb 18, 2024
1 parent fe69262 commit 78c2f0a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ jobs:
with:
toolchain: stable
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- name: Run clippy
run: make lint
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- name: Checkout main
uses: actions/checkout@v2

- uses: Swatinem/rust-cache@v2
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
if: github.repository == 'mitsuhiko/rye'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rustfmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ jobs:
with:
toolchain: stable
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- name: Run rustfmt
run: make format-check
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Check
run: make check
- name: Test
Expand All @@ -26,6 +27,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Check
run: make check
- name: Test
Expand All @@ -40,6 +42,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Check
run: make check
- name: Test
Expand Down

0 comments on commit 78c2f0a

Please sign in to comment.