-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: bump deprecated actions to latest version
- Loading branch information
Showing
1 changed file
with
17 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
os: macOS-latest | ||
runs-on: ${{matrix.os}} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Install rust | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
|
@@ -42,7 +42,7 @@ jobs: | |
msrv-read: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Install rust | ||
uses: dtolnay/[email protected] | ||
- name: Build | ||
|
@@ -53,7 +53,7 @@ jobs: | |
msrv: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Install rust | ||
uses: dtolnay/[email protected] | ||
- name: Build | ||
|
@@ -65,20 +65,18 @@ jobs: | |
name: Build fuzz targets | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Install rust nightly | ||
uses: dtolnay/rust-toolchain@nightly | ||
- name: Install `cargo fuzz` | ||
run: cargo install cargo-fuzz --vers '^0.11.0' | ||
- run: cargo fuzz build -Oa | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: fuzz-targets | ||
path: fuzz/target/x86_64-unknown-linux-gnu/release/debug_* | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: fuzz-targets | ||
path: fuzz/target/x86_64-unknown-linux-gnu/release/eh_* | ||
path: | | ||
fuzz/target/x86_64-unknown-linux-gnu/release/debug_* | ||
fuzz/target/x86_64-unknown-linux-gnu/release/eh_* | ||
run_fuzz_targets: | ||
strategy: | ||
|
@@ -89,12 +87,12 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone the fuzz corpora | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: gimli-rs/gimli-libfuzzer-corpora | ||
path: corpora | ||
- name: Download fuzz targets | ||
uses: actions/download-artifact@v1 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: fuzz-targets | ||
# Note: -max_total_time=300 == 300 seconds == 5 minutes. | ||
|
@@ -109,15 +107,15 @@ jobs: | |
# can debug them. | ||
- name: Upload fuzz artifacts | ||
if: failure() | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{matrix.fuzz_target}}_artifacts | ||
path: ./${{matrix.fuzz_target}}_artifacts | ||
|
||
features: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Install rust stable | ||
uses: dtolnay/rust-toolchain@stable | ||
- uses: taiki-e/install-action@v2 | ||
|
@@ -130,7 +128,7 @@ jobs: | |
bench: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Install rust nightly | ||
uses: dtolnay/rust-toolchain@nightly | ||
- run: cargo bench | ||
|
@@ -145,7 +143,7 @@ jobs: | |
- powerpc64-unknown-linux-gnu | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Install rust stable | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
|
@@ -158,7 +156,7 @@ jobs: | |
rustfmt: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Install rust stable | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
|
@@ -171,7 +169,7 @@ jobs: | |
image: xd009642/tarpaulin | ||
options: --security-opt seccomp=unconfined | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Install rust stable | ||
uses: dtolnay/rust-toolchain@stable | ||
- name: Run cargo-tarpaulin | ||
|
@@ -185,7 +183,7 @@ jobs: | |
doc: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Install rust stable | ||
uses: dtolnay/rust-toolchain@stable | ||
- run: cargo doc |