Skip to content

Commit

Permalink
Add a rust-toolchain file (paritytech#80)
Browse files Browse the repository at this point in the history
* Add the toolchain file

* Update the CI
  • Loading branch information
JoshOrndorff authored Oct 22, 2020
1 parent 0363c02 commit 7627f2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
branches:
- master

env:
WASM_BUILD_TOOLCHAIN: nightly-2020-07-20

jobs:
get-variables:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -71,14 +68,16 @@ jobs:
~/.cargo/git
target
node/standalone/target
key: ${{ runner.OS }}-build-${{ env.WASM_BUILD_TOOLCHAIN }}-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.OS }}-build-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.OS }}-build-${{ env.WASM_BUILD_TOOLCHAIN }}
${{ runner.OS }}-build
-
uses: actions-rs/toolchain@v1
with:
target: wasm32-unknown-unknown
toolchain: ${{ env.WASM_BUILD_TOOLCHAIN }}
# Toolchain is autodetected from `rust-toolchain` file
# https://github.com/actions-rs/toolchain#the-toolchain-file
#toolchain: ${{ env.WASM_BUILD_TOOLCHAIN }}
default: true
-
id: get-rust-versions
Expand Down
1 change: 1 addition & 0 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nightly-2020-07-20

0 comments on commit 7627f2b

Please sign in to comment.