Format only on nightly.
This commit is contained in:
parent
7cfa944efa
commit
1d96ced45c
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -18,12 +18,15 @@ jobs:
|
|||||||
- name: Test
|
- name: Test
|
||||||
command: test
|
command: test
|
||||||
args: ""
|
args: ""
|
||||||
- name: Format
|
|
||||||
command: fmt
|
|
||||||
args: -- --check
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
command: clippy
|
command: clippy
|
||||||
args: ""
|
args: ""
|
||||||
|
include:
|
||||||
|
- toolchain: nightly
|
||||||
|
command:
|
||||||
|
name: Format
|
||||||
|
command: fmt
|
||||||
|
args: -- --check
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -39,6 +42,8 @@ jobs:
|
|||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.toolchain }}
|
toolchain: ${{ matrix.toolchain }}
|
||||||
|
override: true
|
||||||
|
default: true
|
||||||
|
|
||||||
- name: ${{matrix.command.name}}
|
- name: ${{matrix.command.name}}
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
Loading…
Reference in New Issue
Block a user