File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 strategy :
2222 matrix :
2323 os : [ubuntu-22.04, windows-latest, macos-latest]
24- lock : [minimal, auto]
2524 steps :
2625 - uses : actions/checkout@v4
2726 - name : Setup Rust Toolchain
4039 - name : Check clippy
4140 shell : bash
4241 run : |
43- ARGS=()
44- if [[ "${{ matrix.lock }}" == "minimal" ]]; then
45- ARGS+=("-Z" "minimal-versions")
46- fi
47- cargo clippy "${ARGS[@]}" --all-features --all-targets -- -Dwarnings
42+ cargo clippy --all-features --all-targets -- -Dwarnings
4843 - name : Check Docs
4944 run : |
5045 cargo doc --workspace --all-features --no-deps
Original file line number Diff line number Diff line change 1+ name : Check
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+
11+ concurrency :
12+ group : ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
13+ cancel-in-progress : true
14+
15+ env :
16+ RUST_BACKTRACE : 1
17+
18+ jobs :
19+ check :
20+ runs-on : ${{ matrix.os }}
21+ strategy :
22+ matrix :
23+ os : [ubuntu-22.04, windows-latest, macos-latest]
24+ steps :
25+ - uses : actions/checkout@v4
26+ - name : Setup Rust Toolchain
27+ run : |
28+ rustup default nightly
29+ rustup component add clippy
30+ - uses : taiki-e/install-action@cargo-no-dev-deps
31+ - uses : actions/setup-go@v4
32+ with :
33+ go-version : ' >=1.18'
34+ - name : Install NASM on Windows
35+ if : runner.os == 'Windows'
36+ uses : ilammy/setup-nasm@v1
37+ - name : Install ninja-build tool on Windows
38+ if : runner.os == 'Windows'
39+ uses : seanmiddleditch/gha-setup-ninja@v4
40+ - name : Check clippy
41+ shell : bash
42+ run : |
43+ cargo no-dev-deps -Zminimal-versions clippy --all-features --lib
44+ - name : Check Docs
45+ run : |
46+ cargo no-dev-deps -Zminimal-versions doc --workspace --all-features --no-deps
You can’t perform that action at this time.
0 commit comments