File tree Expand file tree Collapse file tree 1 file changed +1
-38
lines changed
Expand file tree Collapse file tree 1 file changed +1
-38
lines changed Original file line number Diff line number Diff line change 1515 CARGO_TERM_COLOR : always
1616
1717jobs :
18- nightly :
19- runs-on : ${{ matrix.os }}
20- strategy :
21- matrix :
22- # tests with sanitizer on `ubuntu-latest` is supported by
23- # self-defined `nihtly test` job, so we don't need to test it here.
24- os : [ macos-latest ]
25- steps :
26- - uses : actions/checkout@v2
27- with :
28- ref : ${{ github.event.pull_request.head.sha }}
29- - name : Install nightly toolchain
30- uses : actions-rs/toolchain@v1
31- with :
32- profile : minimal
33- toolchain : nightly-2026-01-30
34- override : true
35- components : rustfmt, clippy, rust-src
36- - uses : Swatinem/rust-cache@v1
37- with :
38- sharedKey : ${{ matrix.os }}
39- - name : Cache dependencies
40- if : ${{ matrix.os == 'ubuntu-latest' }}
41- run : if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install grcov; fi
42- - name : Format
43- run : |
44- make format
45- git diff --exit-code
46- - name : Clippy
47- run : make clippy
48- env :
49- EXTRA_CARGO_ARGS : ' --fix'
50- - name : Run tests
51- run : make test
52- env :
53- RUST_BACKTRACE : 1
54- EXTRA_CARGO_ARGS : ' --verbose'
5518 stable :
5619 runs-on : ${{ matrix.os }}
5720 strategy :
8346 WITH_STABLE_TOOLCHAIN : ' force'
8447 coverage :
8548 runs-on : ubuntu-latest
86- needs : nightly
49+ needs : stable
8750 steps :
8851 - uses : actions/checkout@v2
8952 with :
You can’t perform that action at this time.
0 commit comments