chore: update CI to use node 20 actions (#369)
This commit is contained in:
parent
46a1c2ed04
commit
4c9f494ed3
2 changed files with 7 additions and 7 deletions
2
.github/workflows/aur-checker.yml
vendored
2
.github/workflows/aur-checker.yml
vendored
|
@ -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
|
10
.github/workflows/rust.yml
vendored
10
.github/workflows/rust.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue