Skip to content

Commit 9ea1c20

Browse files
committed
CI: update actions
1 parent 0d03005 commit 9ea1c20

File tree

1 file changed

+21
-28
lines changed

1 file changed

+21
-28
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 21 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,29 @@ jobs:
44
build_Ubuntu:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v2
8-
- uses: dtolnay/rust-toolchain@master
9-
with:
10-
toolchain: stable
7+
- uses: actions/checkout@v3
8+
- run: |
9+
rustup toolchain install stable --profile minimal --no-self-update
1110
- uses: actions-rs/cargo@v1
1211
with:
1312
command: build
1413

1514
build_MacOS:
1615
runs-on: macos-latest
1716
steps:
18-
- uses: actions/checkout@v2
19-
- uses: dtolnay/rust-toolchain@master
20-
with:
21-
toolchain: stable
17+
- uses: actions/checkout@v3
18+
- run: |
19+
rustup toolchain install stable --profile minimal --no-self-update
2220
- uses: actions-rs/cargo@v1
2321
with:
2422
command: build
2523

2624
build_Windows:
2725
runs-on: windows-latest
2826
steps:
29-
- uses: actions/checkout@v2
30-
- uses: dtolnay/rust-toolchain@master
31-
with:
32-
toolchain: stable
27+
- uses: actions/checkout@v3
28+
- run: |
29+
rustup toolchain install stable --profile minimal --no-self-update
3330
- uses: actions-rs/cargo@v1
3431
with:
3532
command: build
@@ -40,10 +37,9 @@ jobs:
4037
run:
4138
working-directory: bui-demo
4239
steps:
43-
- uses: actions/checkout@v2
44-
- uses: dtolnay/rust-toolchain@master
45-
with:
46-
toolchain: stable
40+
- uses: actions/checkout@v3
41+
- run: |
42+
rustup toolchain install stable --profile minimal --no-self-update
4743
- run: cargo build
4844

4945
build_demo_serve_files:
@@ -52,10 +48,9 @@ jobs:
5248
run:
5349
working-directory: bui-demo
5450
steps:
55-
- uses: actions/checkout@v2
56-
- uses: dtolnay/rust-toolchain@master
57-
with:
58-
toolchain: stable
51+
- uses: actions/checkout@v3
52+
- run: |
53+
rustup toolchain install stable --profile minimal --no-self-update
5954
- run: cargo build --no-default-features --features serve_files,frontend_js
6055

6156
build_demo_frontend_yew:
@@ -64,10 +59,9 @@ jobs:
6459
run:
6560
working-directory: bui-demo/frontend_yew
6661
steps:
67-
- uses: actions/checkout@v2
68-
- uses: dtolnay/rust-toolchain@master
69-
with:
70-
toolchain: stable
62+
- uses: actions/checkout@v3
63+
- run: |
64+
rustup toolchain install stable --profile minimal --no-self-update
7165
- run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | bash
7266
- run: ./build.sh
7367

@@ -77,9 +71,8 @@ jobs:
7771
run:
7872
working-directory: bui-demo/frontend_seed
7973
steps:
80-
- uses: actions/checkout@v2
81-
- uses: dtolnay/rust-toolchain@master
82-
with:
83-
toolchain: stable
74+
- uses: actions/checkout@v3
75+
- run: |
76+
rustup toolchain install stable --profile minimal --no-self-update
8477
- run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | bash
8578
- run: ./build.sh

0 commit comments

Comments
 (0)