From 6a4c481d6af2c35e6bcccf37ea89104325166309 Mon Sep 17 00:00:00 2001 From: Xinyi Ye Date: Tue, 5 Mar 2024 18:01:28 -0800 Subject: [PATCH] Create swift-lint.yml --- .github/workflows/swift-lint.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/swift-lint.yml diff --git a/.github/workflows/swift-lint.yml b/.github/workflows/swift-lint.yml new file mode 100644 index 0000000..a0c497a --- /dev/null +++ b/.github/workflows/swift-lint.yml @@ -0,0 +1,17 @@ +name: Swift Lint + +on: [pull_request] + +jobs: + lint: + runs-on: macos-12 + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Set Xcode 14 + run: | + sudo xcode-select -switch /Applications/Xcode_14.1.app + + - name: Lint + run: cd ios && swiftlint --strict # force to fix warnings too