Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 219e733

Browse files
authored
Replace unmaintained actions-rs/* actions in CI workflows (#29)
Basically all of the `actions-rs/*` actions are unmaintained. See <actions-rs/toolchain#216> for more information. Due to their age they generate several warnings in CI runs. To get rid of those warnings the occurrences of `actions-rs/toolchain` are replaced by `dtolnay/rust-toolchain`, and the occurrences of `actions-rs/cargo` are replaced by direct invocations of `cargo`.
1 parent 0157ede commit 219e733

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,10 @@ jobs:
2828
name: Check
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions-rs/toolchain@v1
32-
with:
33-
profile: minimal
34-
toolchain: stable
35-
override: true
31+
- uses: dtolnay/rust-toolchain@stable
3632
- uses: Swatinem/rust-cache@v2
3733
- run: sudo apt-get update
3834
- run: sudo apt-get install libsoup2.4 javascriptcoregtk-4.0
3935
- run: sudo apt install libwebkit2gtk-4.0-dev libgtk-3-dev libayatana-appindicator3-dev
4036
- uses: actions/checkout@v3
41-
- uses: actions-rs/cargo@v1
42-
with:
43-
command: check
44-
args: --all --examples --tests --exclude dioxus-ios-demo
37+
- run: cargo check --all --examples --tests --exclude dioxus-ios-demo

0 commit comments

Comments
 (0)