Skip to content

Commit

Permalink
Use non deprecated dtolnay/rust-toolchain github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddewie committed Apr 21, 2024
1 parent 18f8675 commit 45a2bf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
uses: dtolnay/rust-toolchain@stable

- uses: actions/cache@v4
with:
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,9 @@ jobs:
uses: actions/checkout@v4

- name: Setup Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
override: true
default: true
target: ${{ matrix.target }}
targets: ${{ matrix.target }}

- uses: actions/cache@v4
with:
Expand Down

0 comments on commit 45a2bf5

Please sign in to comment.