Skip to content

Commit 267fde4

Browse files
committed
Actually replace action in every spot
1 parent 913911f commit 267fde4

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

.github/workflows/rust.yml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v4
22-
- uses: actions-rs/toolchain@v1
22+
- uses: dtolnay/rust-toolchain@stable
2323
with:
2424
profile: minimal
25-
toolchain: stable
26-
override: true
25+
toolchain: "stable"
2726
- uses: actions-rs/cargo@v1
2827
with:
2928
command: check
@@ -34,12 +33,12 @@ jobs:
3433
runs-on: ubuntu-latest
3534
steps:
3635
- uses: actions/checkout@v4
37-
- uses: actions-rs/toolchain@v1
36+
- uses: dtolnay/rust-toolchain@stable
3837
with:
3938
profile: minimal
40-
toolchain: stable
39+
toolchain: "stable"
40+
components: rustfmt
4141
target: wasm32-unknown-unknown
42-
override: true
4342
- uses: actions-rs/cargo@v1
4443
with:
4544
command: check
@@ -50,11 +49,10 @@ jobs:
5049
runs-on: ubuntu-latest
5150
steps:
5251
- uses: actions/checkout@v4
53-
- uses: actions-rs/toolchain@v1
52+
- uses: dtolnay/rust-toolchain@stable
5453
with:
5554
profile: minimal
56-
toolchain: stable
57-
override: true
55+
toolchain: "stable"
5856
- run: sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev
5957
- uses: actions-rs/cargo@v1
6058
with:
@@ -66,11 +64,10 @@ jobs:
6664
runs-on: ubuntu-latest
6765
steps:
6866
- uses: actions/checkout@v4
69-
- uses: actions-rs/toolchain@v1
67+
- uses: dtolnay/rust-toolchain@stable
7068
with:
7169
profile: minimal
72-
toolchain: stable
73-
override: true
70+
toolchain: "stable"
7471
components: rustfmt
7572
- uses: actions-rs/cargo@v1
7673
with:
@@ -82,11 +79,10 @@ jobs:
8279
runs-on: ubuntu-latest
8380
steps:
8481
- uses: actions/checkout@v4
85-
- uses: actions-rs/toolchain@v1
82+
- uses: dtolnay/rust-toolchain@stable
8683
with:
8784
profile: minimal
88-
toolchain: stable
89-
override: true
85+
toolchain: "stable"
9086
components: clippy
9187
- uses: actions-rs/cargo@v1
9288
with:
@@ -109,6 +105,7 @@ jobs:
109105
run: ./trunk build
110106

111107
build:
108+
if: false
112109
runs-on: ${{ matrix.os }}
113110
strategy:
114111
fail-fast: false
@@ -138,9 +135,10 @@ jobs:
138135
run: echo "${{ matrix.TARGET }}"
139136

140137
- uses: actions/checkout@master
141-
- uses: actions-rs/toolchain@v1.0.1
138+
- uses: dtolnay/rust-toolchain@stable
142139
with:
143-
toolchain: stable
140+
profile: minimal
141+
toolchain: "stable"
144142
target: ${{ matrix.TARGET }}
145143
override: true
146144

0 commit comments

Comments
 (0)