Skip to content

Commit

Permalink
Bump checkout and cache to v3 & add notice about cargo
Browse files Browse the repository at this point in the history
Consider replacing the cargo action because of actions-rs/cargo#216
  • Loading branch information
MiraiSubject committed Feb 7, 2023
1 parent 710d51c commit 56e900e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
on:
push:
paths-ignore:
- 'README.md'
release:
types: [published]

Expand All @@ -19,9 +21,9 @@ jobs:
rust: [stable]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
Expand All @@ -35,6 +37,7 @@ jobs:
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

# Consider replacing because of https://github.com/actions-rs/cargo/issues/216
- uses: actions-rs/cargo@v1
with:
command: build
Expand Down

0 comments on commit 56e900e

Please sign in to comment.