Skip to content

Commit

Permalink
ci: switch from actions-rs/toolchain to maintained dtolnay/rust-toolc…
Browse files Browse the repository at this point in the history
…hain (#932)
  • Loading branch information
ErikBjare authored Aug 3, 2023
1 parent b646802 commit 065aaa2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,10 @@ jobs:

- name: Set up Rust nightly
if: ${{ !matrix.skip_rust }}
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
id: toolchain
with:
profile: minimal
toolchain: nightly
override: true

- name: Get npm cache dir
id: npm-cache-dir
Expand All @@ -107,7 +105,7 @@ jobs:
with:
path: aw-server-rust/target
# key needs to contain rustc_hash due to https://github.com/ActivityWatch/aw-server-rust/issues/180
key: ${{ runner.os }}-${{ env.cache-name }}-${{ steps.toolchain.outputs.rustc_hash }}-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-${{ env.cache-name }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-${{ steps.toolchain.outputs.rustc_hash }}-
Expand Down

0 comments on commit 065aaa2

Please sign in to comment.