File tree Expand file tree Collapse file tree 1 file changed +7
-18
lines changed
Expand file tree Collapse file tree 1 file changed +7
-18
lines changed Original file line number Diff line number Diff line change @@ -14,35 +14,24 @@ jobs:
1414 lint :
1515 strategy :
1616 fail-fast : false
17- matrix :
18- os : [ubuntu-24.04, macos-14, windows-2022]
19- feature-args : ['', '-Funstable-mobile-app']
20- include :
21- - os : ubuntu-24.04
22- display-os : Linux
23- - os : macos-14
24- display-os : macOS
25- - os : windows-2022
26- display-os : Windows
27- - feature-args : ' '
28- feature-suffix : ' '
29- - feature-args : ' -Funstable-mobile-app'
30- feature-suffix : ' (-Funstable-mobile-app)'
31-
32- name : ${{ matrix.display-os }}${{ matrix.feature-suffix }}
33- runs-on : ${{ matrix.os }}
17+ name : Lint
18+ runs-on : ubuntu-24.04
3419 steps :
3520 - name : Checkout Repository
3621 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
3722
3823 - name : Install Rust Toolchain
3924 run : rustup toolchain install stable --profile minimal --component clippy --component rustfmt --no-self-update
4025
26+ - name : Add targets
27+ run : |
28+ rustup target add x86_64-pc-windows-msvc aarch64-apple-darwin x86_64-unknown-linux-musl
29+
4130 - name : Cache Dependencies
4231 uses : swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0
4332
4433 - name : Run Rustfmt
4534 run : cargo fmt --all -- --check
4635
4736 - name : Run Clippy
48- run : cargo clippy --workspace --tests ${{ matrix.feature-args }}
37+ run : cargo clippy --workspace --tests ${{ matrix.feature-args }} --target x86_64-pc-windows-msvc --target x86_64-unknown-linux-musl --target aarch64-apple-darwin
You can’t perform that action at this time.
0 commit comments