File tree Expand file tree Collapse file tree 3 files changed +37
-25
lines changed Expand file tree Collapse file tree 3 files changed +37
-25
lines changed Original file line number Diff line number Diff line change 1
- on : pull_request
1
+ name : CI
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - staging
8
+ - trying
2
9
3
10
jobs :
4
11
build_and_test :
5
- name : Build and test on ${{ matrix.os }}
12
+ name : Build and test
6
13
runs-on : ${{ matrix.os }}
7
14
strategy :
8
15
matrix :
9
16
os : [ubuntu-latest, windows-latest, macOS-latest]
17
+ rust : [nightly]
10
18
11
19
steps :
12
20
- uses : actions/checkout@master
13
21
14
- - name : Install nightly
22
+ - name : Install ${{ matrix.rust }}
15
23
uses : actions-rs/toolchain@v1
16
24
with :
17
- toolchain : nightly
25
+ toolchain : ${{ matrix.rust }}
18
26
override : true
19
27
20
28
- name : check
65
73
66
74
- name : Docs
67
75
run : cargo doc --features docs
76
+
77
+ clippy_check :
78
+ name : Clippy check
79
+ runs-on : ubuntu-latest
80
+ steps :
81
+ - uses : actions/checkout@v1
82
+ - id : component
83
+ uses : actions-rs/components-nightly@v1
84
+ with :
85
+ component : clippy
86
+ - uses : actions-rs/toolchain@v1
87
+ with :
88
+ toolchain : ${{ steps.component.outputs.toolchain }}
89
+ override : true
90
+ - run : rustup component add clippy
91
+ - uses : actions-rs/clippy-check@v1
92
+ with :
93
+ token : ${{ secrets.GITHUB_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- status = [" continuous-integration/travis-ci/push" ]
1
+ status = [
2
+ " Build and test (ubuntu-latest, nightly)" ,
3
+ " Build and test (windows-latest, nightly)" ,
4
+ " Build and test (macOS-latest, nightly)" ,
5
+ " Checking fmt and docs" ,
6
+ " Clippy check" ,
7
+ ]
You can’t perform that action at this time.
0 commit comments