Skip to content

Commit

Permalink
chore(ci): use the actively maintained rust toolchain action
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandSherwin authored and joshuef committed Jan 29, 2024
1 parent 930fddc commit 7ad55ac
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,10 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2

- name: cargo cache registry, index and build
uses: actions/[email protected]
Expand All @@ -159,11 +158,10 @@ jobs:
- { os: windows-latest }
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2

- shell: bash
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
Expand Down

0 comments on commit 7ad55ac

Please sign in to comment.