7
7
branches :
8
8
- master
9
9
schedule :
10
- - cron : ' 11 7 * * 1,4'
10
+ - cron : " 11 7 * * 1,4"
11
11
12
12
env :
13
13
RUSTFLAGS : -Dwarnings
@@ -22,51 +22,51 @@ jobs:
22
22
rust : [nightly, beta, stable]
23
23
24
24
steps :
25
- - uses : actions/checkout@v3
25
+ - uses : actions/checkout@v3
26
26
27
- - name : Install ${{ matrix.rust }}
28
- uses : actions-rs/toolchain@v1
29
- with :
30
- toolchain : ${{ matrix.rust }}
31
- override : true
27
+ - name : Install ${{ matrix.rust }}
28
+ uses : actions-rs/toolchain@v1
29
+ with :
30
+ toolchain : ${{ matrix.rust }}
31
+ override : true
32
32
33
- - name : check
34
- uses : actions-rs/cargo@v1
35
- with :
36
- command : check
37
- args : --all --bins --examples --tests
33
+ - name : check
34
+ uses : actions-rs/cargo@v1
35
+ with :
36
+ command : check
37
+ args : --all --bins --examples --tests
38
38
39
- - name : check bench
40
- uses : actions-rs/cargo@v1
41
- if : matrix.rust == 'nightly'
42
- with :
43
- command : check
44
- args : --benches
39
+ - name : check bench
40
+ uses : actions-rs/cargo@v1
41
+ if : matrix.rust == 'nightly'
42
+ with :
43
+ command : check
44
+ args : --benches
45
45
46
- - name : tests
47
- uses : actions-rs/cargo@v1
48
- with :
49
- command : test
50
- args : --all
46
+ - name : tests
47
+ uses : actions-rs/cargo@v1
48
+ with :
49
+ command : test
50
+ args : --all
51
51
52
52
check_fmt_and_docs :
53
53
name : Checking fmt and docs
54
54
runs-on : ubuntu-latest
55
55
steps :
56
- - uses : actions/checkout@v3
56
+ - uses : actions/checkout@v3
57
57
58
- - uses : actions-rs/toolchain@v1
59
- with :
58
+ - uses : actions-rs/toolchain@v1
59
+ with :
60
60
profile : minimal
61
61
toolchain : stable
62
62
override : true
63
63
components : rustfmt
64
64
65
- - name : fmt
66
- run : cargo fmt --all -- --check
65
+ - name : fmt
66
+ run : cargo fmt --all -- --check
67
67
68
- - name : Docs
69
- run : cargo doc
68
+ - name : Docs
69
+ run : cargo doc
70
70
71
71
clippy_check :
72
72
name : Clippy check
0 commit comments