Skip to content

Commit 1c9e767

Browse files
authored
Merge pull request #20 from aosoft/aosoft/fix-ci
CI: install toolchain via rustup, drop rust-cache
2 parents 7b89b36 + a69dd5e commit 1c9e767

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,8 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v4
2323

24-
- name: Install Rust toolchain
25-
uses: dtolnay/rust-toolchain@stable
26-
with:
27-
components: clippy
28-
29-
- uses: Swatinem/rust-cache@v2
24+
- name: Update Rust toolchain
25+
run: rustup update stable && rustup default stable && rustup component add clippy
3026

3127
- name: Clippy
3228
run: cargo clippy --workspace --all-targets

0 commit comments

Comments
 (0)