File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : CI
22
3- on : [push, pull_request]
3+ on :
4+ push :
5+ branches : [master]
6+ tags : ["*"]
7+ pull_request :
8+ branches : ["*"]
49
510jobs :
611 clippy :
712 name : Clippy
813 runs-on : ubuntu-latest
914 steps :
1015 - uses : actions/checkout@v1
11- - id : component
12- uses : actions-rs/components-nightly@v1
16+ - uses : actions-rs/toolchain@v1
1317 with :
14- component : clippy
15- - run : rustup component add clippy
18+ toolchain : nightly
19+ components : clippy
20+ override : true
1621 - uses : actions-rs/clippy-check@v1
1722 with :
1823 token : ${{ secrets.GITHUB_TOKEN }}
19- args : --all-targets --all-features -- -D warnings
24+ args : --all-targets --all-features
2025
2126 format :
2227 name : Format
2328 runs-on : ubuntu-latest
2429 steps :
2530 - uses : actions/checkout@v1
26- - id : component
27- uses : actions-rs/components-nightly@v1
31+ - uses : actions-rs/toolchain@v1
2832 with :
29- component : rustfmt
30- - name : Install rustfmt
31- run : rustup component add rustfmt
33+ toolchain : nightly
34+ components : rustfmt
35+ override : true
3236
3337 - name : Install Erlang/Elixir
3438 uses : actions/setup-elixir@v1.0.0
You can’t perform that action at this time.
0 commit comments