Skip to content

Commit b36ee4c

Browse files
committed
Use nightly for clippy and fmt
1 parent 57fa565 commit b36ee4c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/quick-check.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
toolchain: stable
1616
override: true
1717
components: clippy, rustfmt
18-
18+
1919
- name: Install Rust tooling
2020
uses: taiki-e/install-action@v1
2121
with:
@@ -26,12 +26,14 @@ jobs:
2626
- name: Cargo fmt
2727
uses: actions-rs/cargo@v1
2828
with:
29+
toolchain: nightly
2930
command: fmt
3031
args: --all -- --check
3132

3233
- name: Cargo clippy
3334
uses: actions-rs/cargo@v1
3435
with:
36+
toolchain: nightly
3537
command: clippy
3638
args: -- -D warnings
3739

.github/workflows/weekly-check.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,22 @@ jobs:
2828
- name: Cargo fmt
2929
uses: actions-rs/cargo@v1
3030
with:
31+
toolchain: nightly
3132
command: fmt
3233
args: --all -- --check
3334

3435
- name: Cargo clippy
3536
uses: actions-rs/cargo@v1
3637
with:
38+
toolchain: nightly
3739
command: clippy
3840
args: -- -D warnings
3941

40-
- name: Cargo test
42+
- name: Cargo nextest
4143
uses: actions-rs/cargo@v1
4244
with:
43-
command: test
45+
command: nextest
46+
args: run
4447

4548
- name: Cargo check
4649
uses: actions-rs/cargo@v1

0 commit comments

Comments
 (0)