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
29
310jobs :
411 build_and_test :
5- name : Build and test on ${{ matrix.os }}
12+ name : Build and test
613 runs-on : ${{ matrix.os }}
714 strategy :
815 matrix :
916 os : [ubuntu-latest, windows-latest, macOS-latest]
17+ rust : [nightly]
1018
1119 steps :
1220 - uses : actions/checkout@master
1321
14- - name : Install nightly
22+ - name : Install ${{ matrix.rust }}
1523 uses : actions-rs/toolchain@v1
1624 with :
17- toolchain : nightly
25+ toolchain : ${{ matrix.rust }}
1826 override : true
1927
2028 - name : check
6573
6674 - name : Docs
6775 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