Skip to content

Commit a9c02c6

Browse files
author
Ayush
committed
Modified Rust version in workflows
1 parent 3368f5e commit a9c02c6

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@ jobs:
1010
build:
1111

1212
runs-on: ubuntu-latest
13-
13+
1414
steps:
1515
- name: Checkout sources
1616
uses: actions/checkout@master
1717

1818
- name: Add wasm toolchain
1919
uses: actions-rs/toolchain@v1
2020
with:
21-
toolchain: nightly-2020-12-12
21+
toolchain: nightly-2021-06-21
2222
target: wasm32-unknown-unknown
2323
override: true
2424

2525
- name: Initialize environment and build
2626
run: |
2727
rustup update stable
28-
rustup toolchain install nightly-2020-12-12
29-
rustup default nightly-2020-12-12
30-
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-12-12
28+
rustup toolchain install nightly-2021-06-21
29+
rustup default nightly-2021-06-21
30+
rustup target add wasm32-unknown-unknown --toolchain nightly-2021-06-21
3131
cargo build --release
32-
32+
3333
- name: Upload artifact
3434
uses: actions/upload-artifact@v1
3535
with:

.github/workflows/test.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
- name: Initialize WASM build environment
2727
run: |
2828
rustup update stable
29-
rustup toolchain install nightly-2020-12-12
30-
rustup default nightly-2020-12-12
31-
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-12-12
29+
rustup toolchain install nightly-2021-06-21
30+
rustup default nightly-2021-06-21
31+
rustup target add wasm32-unknown-unknown --toolchain nightly-2021-06-21
3232
3333
- name: Run cargo check
34-
run: cargo +nightly-2020-12-12 check
34+
run: cargo +nightly-2021-06-21 check
3535

3636
test:
3737
name: Test Suite
@@ -56,14 +56,14 @@ jobs:
5656
- name: Initialize WASM build environment
5757
run: |
5858
rustup update stable
59-
rustup toolchain install nightly-2020-12-12
60-
rustup default nightly-2020-12-12
61-
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-12-12
59+
rustup toolchain install nightly-2021-06-21
60+
rustup default nightly-2021-06-21
61+
rustup target add wasm32-unknown-unknown --toolchain nightly-2021-06-21
6262
6363
# Runs integration tests in the runtime/tests folder
6464
- name: Run All Tests
6565
run: |
66-
cargo +nightly-2020-12-12 test
66+
cargo +nightly-2021-06-21 test
6767
6868
lints:
6969
name: Lints
@@ -88,18 +88,18 @@ jobs:
8888
override: true
8989
components: rustfmt, clippy
9090

91-
# nightly-2020-12-12-x86_64-unknown-linux-gnu
91+
# nightly-2021-06-21-x86_64-unknown-linux-gnu
9292
- name: Initialize WASM build environment
9393
run: |
9494
rustup update stable
95-
rustup toolchain install nightly-2020-12-12
96-
rustup default nightly-2020-12-12
97-
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-12-12
95+
rustup toolchain install nightly-2021-06-21
96+
rustup default nightly-2021-06-21
97+
rustup target add wasm32-unknown-unknown --toolchain nightly-2021-06-21
9898
9999
- name: Run cargo fmt
100100
run: |
101-
rustup component add rustfmt --toolchain nightly-2020-12-12-x86_64-unknown-linux-gnu
102-
cargo +nightly-2020-12-12 fmt --all -- --check
101+
rustup component add rustfmt --toolchain nightly-2021-06-21-x86_64-unknown-linux-gnu
102+
cargo +nightly-2021-06-21 fmt --all -- --check
103103
104104
# Ignore use of Clippy until a clippy.toml file may be used. See README.md
105105
# - name: Run cargo clippy
@@ -109,6 +109,6 @@ jobs:
109109
# # args: --release -- -D warnings
110110
# # FIXME - temporary fix below. See https://github.com/rust-lang/rust-clippy/issues/5094#issuecomment-579116431
111111
# run: |
112-
# rustup component add clippy --toolchain nightly-2020-12-12-x86_64-unknown-linux-gnu
113-
# rustup component add clippy-preview --toolchain nightly-2020-12-12-x86_64-unknown-linux-gnu
114-
# cargo +nightly-2020-12-12 clippy-preview -Zunstable-options
112+
# rustup component add clippy --toolchain nightly-2021-06-21-x86_64-unknown-linux-gnu
113+
# rustup component add clippy-preview --toolchain nightly-2021-06-21-x86_64-unknown-linux-gnu
114+
# cargo +nightly-2021-06-21 clippy-preview -Zunstable-options

0 commit comments

Comments
 (0)