File tree Expand file tree Collapse file tree 5 files changed +81
-35
lines changed Expand file tree Collapse file tree 5 files changed +81
-35
lines changed Original file line number Diff line number Diff line change 1
1
block_labels = [" needs-decision" ]
2
2
delete_merged_branches = true
3
3
required_approvals = 1
4
- status = [" continuous-integration/travis-ci/push" ]
4
+ status = [
5
+ " ci-linux (stable)" ,
6
+ " ci-linux (1.38.0)" ,
7
+ " rustfmt" ,
8
+ ]
Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches : [ staging, trying, master ]
4
+ pull_request :
5
+
6
+ name : CI
7
+
8
+ jobs :
9
+ ci-linux :
10
+ runs-on : ubuntu-latest
11
+ strategy :
12
+ matrix :
13
+ # All generated code should be running on stable now
14
+ rust : [stable]
15
+
16
+ include :
17
+ # Test MSRV
18
+ - rust : 1.38.0
19
+
20
+ # Test nightly but don't fail
21
+ - rust : nightly
22
+ experimental : true
23
+ steps :
24
+ - uses : actions/checkout@v2
25
+ - uses : actions-rs/toolchain@v1
26
+ with :
27
+ profile : minimal
28
+ toolchain : ${{ matrix.rust }}
29
+ override : true
30
+ - name : Run tests
31
+ run : cargo test --all
32
+
33
+ # FIXME: test on macOS and Windows
Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches : [ staging, trying, master ]
4
+ pull_request :
5
+
6
+ name : Clippy check
7
+ jobs :
8
+ clippy :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - uses : actions-rs/toolchain@v1
13
+ with :
14
+ profile : minimal
15
+ toolchain : stable
16
+ override : true
17
+ components : clippy
18
+ - uses : actions-rs/clippy-check@v1
19
+ with :
20
+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches : [ staging, trying, master ]
4
+ pull_request :
5
+
6
+ name : Code formatting check
7
+
8
+ jobs :
9
+ fmt :
10
+ name : rustfmt
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - uses : actions-rs/toolchain@v1
15
+ with :
16
+ profile : minimal
17
+ toolchain : stable
18
+ override : true
19
+ components : rustfmt
20
+ - uses : actions-rs/cargo@v1
21
+ with :
22
+ command : fmt
23
+ args : --all -- --check
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments