Skip to content

Commit e261b66

Browse files
committed
Add ci toolchain specification.
1 parent 0726bff commit e261b66

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,22 +59,26 @@ jobs:
5959
- name: Cargo fmt
6060
uses: actions-rs/cargo@v1
6161
with:
62+
toolchain: nightly
6263
command: fmt
63-
args: +nightly --all -- --check
64+
args: --all -- --check
6465

6566
- name: Cargo build
6667
uses: actions-rs/cargo@v1
6768
with:
69+
toolchain: stable
6870
command: build
6971
args: --release
7072

7173
- name: Cargo test
7274
uses: actions-rs/cargo@v1
7375
with:
76+
toolchain: stable
7477
command: test
7578
args: --release -- --nocapture
7679

7780
- name: Cargo doc
7881
uses: actions-rs/cargo@v1
7982
with:
83+
toolchain: stable
8084
command: doc

0 commit comments

Comments
 (0)