Skip to content

Commit

Permalink
review: remove deprecated actions-rs
Browse files Browse the repository at this point in the history
  • Loading branch information
laruh committed Oct 28, 2024
1 parent ccb58b3 commit fbfe97a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/fmt-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
components: clippy, rustfmt
override: true
profile: minimal
toolchain: nightly-2023-06-01
run: |
rustup toolchain install nightly-2023-06-01 --no-self-update --profile minimal --component clippy rustfmt
rustup default nightly-2023-06-01
- name: Cargo cache
uses: ./.github/actions/cargo-cache
Expand All @@ -45,13 +42,10 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
components: clippy
override: true
profile: minimal
toolchain: nightly-2023-06-01
target: wasm32-unknown-unknown
run: |
rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal --component clippy
rustup default nightly-2023-06-01
rustup target add wasm32-unknown-unknown
- name: Cargo cache
uses: ./.github/actions/cargo-cache
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
components: clippy, rustfmt
override: true
profile: minimal
toolchain: nightly-2023-06-01
run: |
rustup toolchain install nightly-2023-06-01 --no-self-update --profile minimal
rustup default nightly-2023-06-01
- name: Cargo cache
uses: ./.github/actions/cargo-cache
Expand Down

0 comments on commit fbfe97a

Please sign in to comment.