Skip to content

Commit

Permalink
Update actions/checkout in GitHub Actions workflows to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel committed Jan 22, 2023
1 parent d38b015 commit 59214f1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: Vanilla Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- run: rustup update
- name: Build
run: cargo build --verbose --all
Expand All @@ -17,7 +17,7 @@ jobs:
name: All Features Enabled Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- run: rustup update
- name: Build
run: cargo build --verbose --all-features --all
Expand All @@ -29,23 +29,23 @@ jobs:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- run: rustup update
- run: rustup component add clippy
- run: cargo clippy --all-features --workspace -- -Dclippy::all
rustfmt:
name: Check rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- run: rustup update
- run: rustup component add rustfmt --toolchain stable
- run: cargo +stable fmt --all -- --check
fuzz:
name: Run `int_in_range` fuzz target
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- run: rustup update
- name: "Install nightly"
run: rustup toolchain install nightly && rustup default nightly
Expand Down

0 comments on commit 59214f1

Please sign in to comment.