Skip to content

Commit

Permalink
Merge pull request #36 from de-vri-es/replace-rust-actions
Browse files Browse the repository at this point in the history
Update actions/cache to v4.
  • Loading branch information
de-vri-es authored Mar 4, 2024
2 parents 2413d17 + f42357f commit 12dea23
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,22 @@ on:

jobs:
build_and_test:
name: Rust ${{ matrix.rust }} on ${{ matrix.os }}
name: ${{ matrix.os }}, rust-${{ matrix.rust }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
rust: [stable, nightly, 1.65.0]
runs-on: ${{ matrix.os }}
steps:
- name: Restore cached crates.io index
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-rust-${{ matrix.rust }}
save-always: true
- name: Checkout code
uses: actions/checkout@master
- name: Install Rust ${{ matrix.rust }}
Expand Down

0 comments on commit 12dea23

Please sign in to comment.