From c77fc706adf0165b015cd5b1e0828251962da058 Mon Sep 17 00:00:00 2001
From: Erik Everson <32311723+ErikEverson@users.noreply.github.com>
Date: Tue, 9 Apr 2024 10:58:15 -0600
Subject: [PATCH] tvOS Clippy CI Check

---
 .github/workflows/ci.yml | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ac74d151..129ac34a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,8 +16,25 @@ env:
   RUSTFLAGS: -D warnings -F unused_must_use
 
 jobs:
+  clippy-build-std:
+    name: Clippy (-Zbuild-std)
+    runs-on: macos-latest
+    steps:
+      - uses: actions/checkout@v4
+        with:
+          persist-credentials: false
+
+      - uses: dtolnay/rust-toolchain@nightly
+        with:
+          components: clippy
+
+      - name: Clippy (tvOS)
+        run: |
+          rustup component add rust-src --toolchain nightly-x86_64-apple-darwin
+          cargo +nightly clippy -Zbuild-std --target aarch64-apple-tvos
+
   clippy:
-    name: Clippy
+    name: Clippy (stable)
     runs-on: ${{ matrix.os }}
     strategy:
       matrix: