Skip to content

Commit bf8293c

Browse files
authored
Merge pull request #5 from EspressoSystems/fix/rust-toolchain
Switch away from unmaintained actions-rs
2 parents 4a08a2c + 659e82a commit bf8293c

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
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: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,17 @@ jobs:
2828
- uses: actions/checkout@v4
2929
name: Checkout Repository
3030

31-
- uses: dtolnay/rust-toolchain@stable
32-
3331
- uses: Swatinem/rust-cache@v2
3432
name: Enable Rust Caching
3533

3634
- name: Format Check
3735
run: cargo fmt -- --check
3836

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

4543
build:
4644
runs-on: ubuntu-latest
@@ -56,8 +54,6 @@ jobs:
5654
- uses: actions/checkout@v4
5755
name: Checkout Repository
5856

59-
- uses: dtolnay/rust-toolchain@stable
60-
6157
- uses: Swatinem/rust-cache@v2
6258
name: Enable Rust Caching
6359

@@ -91,8 +87,6 @@ jobs:
9187
- uses: actions/checkout@v4
9288
name: Checkout Repository
9389

94-
- uses: dtolnay/rust-toolchain@stable
95-
9690
- uses: Swatinem/rust-cache@v2
9791
name: Enable Rust Caching
9892

@@ -117,8 +111,6 @@ jobs:
117111
- uses: actions/checkout@v4
118112
name: Checkout Repository
119113

120-
- uses: dtolnay/rust-toolchain@stable
121-
122114
- uses: Swatinem/rust-cache@v2
123115
name: Enable Rust Caching
124116

@@ -144,10 +136,7 @@ jobs:
144136
runs-on: ubuntu-latest
145137
steps:
146138
- uses: actions/checkout@v4
147-
- uses: actions-rs/toolchain@v1
148-
with:
149-
toolchain: stable
150-
override: true
139+
- uses: dtolnay/rust-toolchain@stable
151140
- uses: katyo/publish-crates@v2
152141
with:
153142
# Only do an actual publish if this is a push to a release tag. Otherwise, do a dry run.

0 commit comments

Comments
 (0)