File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ push :
4
+ branches-ignore : [main]
5
+ pull_request :
6
+ merge_group :
7
+
8
+ jobs :
9
+ test :
10
+ name : Test
11
+ runs-on : ${{ matrix.os }}
12
+ strategy :
13
+ matrix :
14
+ build : [stable, beta, nightly]
15
+ include :
16
+ - build : stable
17
+ os : ubuntu-latest
18
+ rust : stable
19
+ - build : beta
20
+ os : ubuntu-latest
21
+ rust : beta
22
+ - build : nightly
23
+ os : ubuntu-latest
24
+ rust : nightly
25
+ steps :
26
+ - uses : actions/checkout@v3
27
+ - name : Install Rust
28
+ run : rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
29
+ - name : Build and run tests
30
+ run : cargo test
31
+
32
+ rustfmt :
33
+ name : Rustfmt
34
+ runs-on : ubuntu-latest
35
+ steps :
36
+ - uses : actions/checkout@v3
37
+ - name : Install Rust
38
+ run : rustup update stable && rustup default stable && rustup component add rustfmt
39
+ - run : cargo fmt --check
You can’t perform that action at this time.
0 commit comments