diff --git a/.github/workflows/swiftlint-action.yml b/.github/workflows/swiftlint-action.yml new file mode 100644 index 0000000..a063747 --- /dev/null +++ b/.github/workflows/swiftlint-action.yml @@ -0,0 +1,20 @@ +name: Test SwiftLint Action + +on: + push: + +jobs: + test-swiftlint-action: + name: "Test SwiftLint Action" + + strategy: + matrix: + runs_on: + - name: cirrus-macos-arm64 + image: "ghcr.io/cirruslabs/macos-sonoma-xcode:latest" + + runs-on: ${{ matrix.runs_on.image }} + + steps: + - uses: actions/checkout@v4 + - uses: cirruslabs/swiftlint-action@basic-implementation diff --git a/Test.swift b/Test.swift new file mode 100644 index 0000000..257caee --- /dev/null +++ b/Test.swift @@ -0,0 +1,4 @@ +import Foundation + +// TODO: trigger linter warning +print("Test!")