Skip to content

Commit

Permalink
ci: Update actions/checkout and actions/cache.
Browse files Browse the repository at this point in the history
This updates these to the current versions which also use more
recent versions of Node, silencing some deprecation warnings from
within GitHub Actions.
  • Loading branch information
waywardmonkeys committed Apr 22, 2024
1 parent ff8fd3d commit 5cdf58d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
channel: [stable, nightly]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand All @@ -27,19 +27,19 @@ jobs:
run: rustc --version && cargo --version

- name: Cache cargo registry
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-${{ matrix.channel }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}

- name: Cache cargo index
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cargo/git
key: ${{ runner.os }}-${{ matrix.channel }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}

- name: Cache cargo build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-${{ matrix.channel }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
Expand Down

0 comments on commit 5cdf58d

Please sign in to comment.