File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : ["main"]
6
+ pull_request :
7
+ branches : ["main"]
8
+
9
+ env :
10
+ CARGO_TERM_COLOR : always
11
+
12
+ jobs :
13
+ ci :
14
+ name : CI
15
+ needs : [test, clippy]
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Done
19
+ run : exit 0
20
+
21
+ test :
22
+ name : Test
23
+ strategy :
24
+ matrix :
25
+ os : ["ubuntu-latest", "windows-latest", "macos-latest"]
26
+ rust : ["stable"]
27
+ continue-on-error : ${{ matrix.rust != 'stable' }}
28
+ runs-on : ${{ matrix.os }}
29
+
30
+ steps :
31
+ - uses : actions/checkout@v4
32
+ - name : Build
33
+ run : cargo test --no-run --workspace
34
+ - name : Run tests
35
+ run : cargo test --workspace
36
+
37
+ clippy :
38
+ name : Clippy
39
+ runs-on : ubuntu-latest
40
+
41
+ steps :
42
+ - name : Clippy
43
+ run : cargo clippy
You can’t perform that action at this time.
0 commit comments