chore: update CI to use node 20 actions (#369)

This commit is contained in:
Carson McManus 2024-03-04 07:05:23 -05:00 committed by GitHub
parent 46a1c2ed04
commit 4c9f494ed3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View file

@ -11,6 +11,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v4
- name: Install AUR package - name: Install AUR package
run: ./scripts/check-aur.sh run: ./scripts/check-aur.sh

View file

@ -15,9 +15,9 @@ jobs:
steps: steps:
- run: rustup component add clippy rustfmt - run: rustup component add clippy rustfmt
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Rust Cache - name: Rust Cache
uses: Swatinem/rust-cache@v2.5.0 uses: Swatinem/rust-cache@v2
- name: Check format - name: Check format
run: cargo fmt --all -- --check run: cargo fmt --all -- --check
- name: Check - name: Check
@ -34,13 +34,13 @@ jobs:
matrix: matrix:
target: [x86_64-unknown-linux-musl, x86_64-pc-windows-gnu] target: [x86_64-unknown-linux-musl, x86_64-pc-windows-gnu]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Rust Cache - name: Rust Cache
uses: Swatinem/rust-cache@v2.5.0 uses: Swatinem/rust-cache@v2
with: with:
prefix-key: v0-rust-${{ matrix.target }} prefix-key: v0-rust-${{ matrix.target }}
- name: Install Cross - name: Install Cross
uses: baptiste0928/cargo-install@v1 uses: baptiste0928/cargo-install@v2
with: with:
crate: cross crate: cross
- name: Check - name: Check