Skip to content

Commit f21e26e

Browse files
committed
ci: Remove unmaintained actions-rs/toolchain
Move to using `dtolnay/rust-toolchain` instead.
1 parent 9d0491c commit f21e26e

File tree

2 files changed

+10
-26
lines changed

2 files changed

+10
-26
lines changed

.github/workflows/code_coverage.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@ jobs:
2121
- name: Install lcov tools
2222
run: sudo apt-get install lcov -y
2323
- name: Install Rust toolchain
24-
uses: actions-rs/toolchain@v1
24+
uses: dtolnay/rust-toolchain@v1
2525
with:
2626
toolchain: stable
27-
override: true
28-
profile: minimal
2927
components: llvm-tools-preview
3028
- name: Rust Cache
3129
uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0

.github/workflows/cont_integration.yml

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,9 @@ jobs:
4242
with:
4343
persist-credentials: false
4444
- name: Install Rust toolchain
45-
uses: actions-rs/toolchain@v1
45+
uses: dtolnay/rust-toolchain@v1
4646
with:
4747
toolchain: ${{ matrix.rust.version }}
48-
override: true
49-
profile: minimal
5048
- name: Rust Cache
5149
uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0
5250
- name: Pin dependencies for MSRV
@@ -69,11 +67,9 @@ jobs:
6967
with:
7068
persist-credentials: false
7169
- name: Install Rust toolchain
72-
uses: actions-rs/toolchain@v1
70+
uses: dtolnay/rust-toolchain@v1
7371
with:
7472
toolchain: ${{ needs.prepare.outputs.rust_version }}
75-
override: true
76-
profile: minimal
7773
# target: "thumbv6m-none-eabi"
7874
- name: Rust Cache
7975
uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0
@@ -99,12 +95,10 @@ jobs:
9995
- run: sudo apt-get update || exit 1
10096
- run: sudo apt-get install -y libclang-common-14-dev clang-14 libc6-dev-i386 || exit 1
10197
- name: Install Rust toolchain
102-
uses: actions-rs/toolchain@v1
98+
uses: dtolnay/rust-toolchain@v1
10399
with:
104100
toolchain: ${{ needs.prepare.outputs.rust_version }}
105-
override: true
106-
profile: minimal
107-
target: "wasm32-unknown-unknown"
101+
targets: "wasm32-unknown-unknown"
108102
- name: Rust Cache
109103
uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0
110104
- name: Check bdk wallet
@@ -120,11 +114,9 @@ jobs:
120114
with:
121115
persist-credentials: false
122116
- name: Install Rust toolchain
123-
uses: actions-rs/toolchain@v1
117+
uses: dtolnay/rust-toolchain@v1
124118
with:
125119
toolchain: nightly
126-
override: true
127-
profile: minimal
128120
components: rustfmt
129121
- name: Check fmt
130122
run: cargo fmt --all --check
@@ -139,18 +131,14 @@ jobs:
139131
- uses: actions/checkout@v4
140132
with:
141133
persist-credentials: false
142-
- uses: actions-rs/toolchain@v1
134+
- uses: dtolnay/rust-toolchain@v1
143135
with:
144136
toolchain: ${{ needs.prepare.outputs.rust_version }}
145137
components: clippy
146-
override: true
147138
- name: Rust Cache
148139
uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0
149-
- uses: actions-rs/clippy-check@v1
150-
with:
151-
token: ${{ secrets.GITHUB_TOKEN }}
152-
name: Clippy Results
153-
args: --all-features --all-targets -- -D warnings
140+
- name: Clippy
141+
run: cargo clippy --all-features --all-targets -- -D warnings
154142

155143
build-examples:
156144
needs: prepare
@@ -162,11 +150,9 @@ jobs:
162150
with:
163151
persist-credentials: false
164152
- name: Install Rust toolchain
165-
uses: actions-rs/toolchain@v1
153+
uses: dtolnay/rust-toolchain@v1
166154
with:
167155
toolchain: ${{ needs.prepare.outputs.rust_version }}
168-
override: true
169-
profile: minimal
170156
- name: Rust Cache
171157
uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0
172158
- name: Build + Test Examples

0 commit comments

Comments
 (0)