Skip to content

Commit 804161c

Browse files
committed
tvOS Clippy CI Check
1 parent c43f2cf commit 804161c

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

.github/workflows/ci.yml

+23-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,30 @@ env:
1616
RUSTFLAGS: -D warnings -F unused_must_use
1717

1818
jobs:
19+
check:
20+
name: Clippy (nightly)
21+
runs-on: ${{ matrix.os }}
22+
strategy:
23+
matrix:
24+
os:
25+
- macos-latest
26+
steps:
27+
- uses: actions/checkout@v4
28+
with:
29+
persist-credentials: false
30+
31+
- uses: dtolnay/rust-toolchain@nightly
32+
with:
33+
components: clippy
34+
35+
- name: Clippy (tvOS)
36+
if: matrix.os == 'macos-latest'
37+
run: |
38+
rustup component add rust-src --toolchain nightly-x86_64-apple-darwin
39+
cargo +nightly clippy -Zbuild-std --target aarch64-apple-tvos
40+
1941
clippy:
20-
name: Clippy
42+
name: Clippy (stable)
2143
runs-on: ${{ matrix.os }}
2244
strategy:
2345
matrix:

0 commit comments

Comments
 (0)