Skip to content

Commit

Permalink
[CI] Update built-in GitHub Actions to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
domenicquirl committed Feb 2, 2025
1 parent d602fe2 commit 6c62982
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

steps:
# setup
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
Expand All @@ -56,7 +56,7 @@ jobs:
run: cargo test --doc --verbose --all-features

# upload test results
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: success() || failure() # run this step even if previous step failed
with:
name: test-results-${{ matrix.rust }}-${{ matrix.os }}
Expand All @@ -66,7 +66,7 @@ jobs:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly
Expand All @@ -81,7 +81,7 @@ jobs:
RUSTFLAGS: -Dwarnings

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: hecrj/setup-rust-action@v1
with:
components: clippy
Expand All @@ -92,7 +92,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly
Expand All @@ -106,7 +106,7 @@ jobs:
RUSTDOCFLAGS: -Dwarnings --cfg doc_cfg

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly
Expand All @@ -122,7 +122,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly
Expand All @@ -139,7 +139,7 @@ jobs:
matrix:
sanitizer: [address, memory, thread, leak]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly
Expand Down

0 comments on commit 6c62982

Please sign in to comment.