Skip to content

Commit

Permalink
address github actions deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
scottlamb committed Aug 12, 2024
1 parent bde8453 commit 960a343
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ matrix.rust }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install Rust
uses: actions-rs/toolchain@v1
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: ${{ matrix.extra_components }}
- name: Build
run: cargo build --all-features --all-targets --workspace
Expand All @@ -44,7 +42,7 @@ jobs:
- name: Check main workspace formatting
if: matrix.rust == 'stable'
run: cargo fmt --all --check
- name: Check fuzz worspace formatting
- name: Check fuzz workspace formatting
if: matrix.rust == 'stable'
run: cd fuzz && cargo fmt --all --check
- name: Clippy on main workspace
Expand All @@ -59,5 +57,5 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- run: find . -type f -print0 | xargs -0 .github/workflows/check-license.py

0 comments on commit 960a343

Please sign in to comment.