[ci]: use latest nightly (#222)

* [ci]: use latest nightly

* grumbles

* fix nit; targets -> target
This commit is contained in:
Niklas Adolfsson
2021-01-20 17:22:50 +01:00
committed by GitHub
parent 3c46002e67
commit 4725a33ea2
+10 -6
View File
@@ -15,15 +15,19 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: setup - name: setup
run: | uses: actions-rs/toolchain@v1
rustup install nightly-2020-10-01 --profile default with:
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-01 profile: minimal
toolchain: nightly
override: true
components: rustfmt
target: wasm32-unknown-unknown
- name: fmt - name: fmt
run: cargo +nightly-2020-10-01 fmt --all -- --check run: cargo fmt --all -- --check
- name: build - name: build
run: cargo +nightly-2020-10-01 build --workspace --verbose run: cargo build --workspace --verbose
- name: test - name: test
run: cargo +nightly-2020-10-01 test --workspace --verbose -- --test-threads=1 run: cargo test --workspace --verbose -- --test-threads=1