File tree 1 file changed +8
-9
lines changed 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -20,27 +20,26 @@ jobs:
20
20
os : [windows-latest, ubuntu-latest]
21
21
runs-on : ${{ matrix.os }}
22
22
steps :
23
- - name : fmt
24
- if : ${{ matrix.toolchain == 'nightly' }}
25
- uses : actions-rs/cargo@v1
26
- with :
27
- components : rustfmt
28
- command : fmt
29
- args : --all -- --check
30
-
31
23
- uses : actions/checkout@v2
32
24
33
25
- uses : actions-rs/toolchain@v1
34
26
with :
35
27
toolchain : ${{ matrix.toolchain }}
36
28
components : rustfmt, clippy
37
29
override : true
30
+ - name : fmt
31
+ if : ${{ matrix.toolchain == 'nightly' }}
32
+ uses : actions-rs/cargo@v1
33
+ with :
34
+ command : fmt
35
+ args : --all -- --check
38
36
39
37
- name : Install alsa and udev
40
38
run : sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
41
39
if : runner.os == 'linux'
42
40
43
- - uses : actions-rs/clippy-check@v1
41
+ - name : lint
42
+ uses : actions-rs/clippy-check@v1
44
43
with :
45
44
token : ${{ secrets.GITHUB_TOKEN }}
46
45
args : --all-targets --all-features -- -D warnings
You can’t perform that action at this time.
0 commit comments