File tree 1 file changed +42
-30
lines changed
1 file changed +42
-30
lines changed Original file line number Diff line number Diff line change @@ -3,46 +3,58 @@ name: CI
3
3
on : [push, pull_request]
4
4
5
5
env :
6
- CARGO_TERM_COLOR : always
6
+ CARGO_TERM_COLOR : always
7
7
8
8
jobs :
9
- build :
10
- runs-on : ubuntu-latest
9
+ build :
10
+ runs-on : ubuntu-latest
11
11
12
- steps :
13
- - name : Checkout
14
- uses : actions/checkout@v2
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v2
15
15
16
- - name : Build
17
- run : cargo build --release
16
+ - name : Build
17
+ run : cargo build --release
18
18
19
- clippy :
20
- runs-on : ubuntu-latest
19
+ clippy :
20
+ runs-on : ubuntu-latest
21
21
22
- steps :
23
- - name : Checkout
24
- uses : actions/checkout@v2
22
+ steps :
23
+ - name : Checkout
24
+ uses : actions/checkout@v2
25
25
26
- - name : Clippy
27
- run : cargo clippy
26
+ - name : Clippy
27
+ run : cargo clippy
28
28
29
- test :
30
- runs-on : ubuntu-latest
29
+ test :
30
+ runs-on : ubuntu-latest
31
31
32
- steps :
33
- - name : Checkout
34
- uses : actions/checkout@v2
32
+ steps :
33
+ - name : Checkout
34
+ uses : actions/checkout@v2
35
35
36
- - name : Run tests
37
- run : cargo test --verbose
36
+ - name : Run tests
37
+ run : cargo test --verbose
38
38
39
- rustfmt :
40
- runs-on : ubuntu-latest
39
+ documentation :
40
+ runs-on : ubuntu-latest
41
41
42
- steps :
43
- - name : Checkout
44
- uses : actions/checkout@v2
42
+ steps :
43
+ - name : Checkout
44
+ uses : actions/checkout@v2
45
45
46
- - name : Check formatting
47
- run : |
48
- cargo fmt -- --check
46
+ - name : Check documentation
47
+ run : |
48
+ sudo apt update
49
+ sudo apt install --no-install-recommends scdoc
50
+ for file in $(find . -type f -iname "*.scd"); do scdoc < $file > /dev/null; done
51
+ rustfmt :
52
+ runs-on : ubuntu-latest
53
+
54
+ steps :
55
+ - name : Checkout
56
+ uses : actions/checkout@v2
57
+
58
+ - name : Check formatting
59
+ run : |
60
+ cargo fmt -- --check
You can’t perform that action at this time.
0 commit comments