Skip to content

Commit bdf01ab

Browse files
committed
Switch away from unmaintained actions-rs
1 parent 4a08a2c commit bdf01ab

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

.github/workflows/audit.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16-
# See https://github.com/marketplace/actions/rust-audit-check for docs
17-
- uses: actions-rs/audit-check@v1
16+
- uses: rustsec/[email protected]
1817
with:
1918
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/build.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,8 @@ jobs:
3636
- name: Format Check
3737
run: cargo fmt -- --check
3838

39-
- uses: actions-rs/clippy-check@v1
40-
name: Clippy
41-
with:
42-
token: ${{ github.token }}
43-
args: --workspace --all-features --all-targets -- -D warnings
39+
- name: Clippy
40+
run: cargo clippy --workspace --all-features --all-targets -- -D warnings
4441

4542
build:
4643
runs-on: ubuntu-latest
@@ -144,10 +141,7 @@ jobs:
144141
runs-on: ubuntu-latest
145142
steps:
146143
- uses: actions/checkout@v4
147-
- uses: actions-rs/toolchain@v1
148-
with:
149-
toolchain: stable
150-
override: true
144+
- uses: dtolnay/rust-toolchain@stable
151145
- uses: katyo/publish-crates@v2
152146
with:
153147
# Only do an actual publish if this is a push to a release tag. Otherwise, do a dry run.

0 commit comments

Comments
 (0)