File tree 1 file changed +7
-59
lines changed
1 file changed +7
-59
lines changed Original file line number Diff line number Diff line change 11
11
TOOLCHAIN : stable
12
12
13
13
jobs :
14
- init-env :
15
- name : Initialize Environment
16
- timeout-minutes : 10
14
+ ci :
15
+ name : CI
16
+ timeout-minutes : 15
17
17
strategy :
18
18
matrix :
19
19
os :
@@ -33,66 +33,14 @@ jobs:
33
33
- name : Cache
34
34
uses : Swatinem/rust-cache@v2
35
35
36
- format :
37
- name : Format
38
- timeout-minutes : 10
39
- strategy :
40
- matrix :
41
- os :
42
- - ubuntu-latest
43
- - macos-latest
44
- - windows-latest
45
- runs-on : ${{matrix.os}}
46
- needs : init-env
47
-
48
- steps :
49
- - name : Run Format
36
+ - name : Format
50
37
run : cargo fmt --all
51
38
52
- lint :
53
- name : Lint
54
- timeout-minutes : 10
55
- strategy :
56
- matrix :
57
- os :
58
- - ubuntu-latest
59
- - macos-latest
60
- - windows-latest
61
- runs-on : ${{matrix.os}}
62
- needs : init-env
63
-
64
- steps :
65
- - name : Run Lint
39
+ - name : Lint
66
40
run : cargo clippy --all-targets --all-features
67
41
68
- test :
69
- name : Test
70
- timeout-minutes : 10
71
- strategy :
72
- matrix :
73
- os :
74
- - ubuntu-latest
75
- - macos-latest
76
- - windows-latest
77
- runs-on : ${{matrix.os}}
78
- needs : init-env
79
-
80
- steps :
81
- - name : Run Tests
42
+ - name : Tests
82
43
run : cargo test --verbose
83
44
84
- build :
85
- name : Build
86
- timeout-minutes : 10
87
- strategy :
88
- matrix :
89
- os :
90
- - ubuntu-latest
91
- - macos-latest
92
- - windows-latest
93
- runs-on : ${{matrix.os}}
94
- needs : init-env
95
-
96
- steps :
97
- - name : Run Build
45
+ - name : Build
98
46
run : cargo build --release --verbose
You can’t perform that action at this time.
0 commit comments