Merge pull request #732 from 72A12F4E/swiftlint-ci

Add SwiftLint to CI checks
This commit is contained in:
Blake McAnally 2024-06-28 12:25:31 -05:00 committed by GitHub
commit 4a9d88e050
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

18
.github/workflows/swiftlint.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: SwiftLint
on:
pull_request:
paths:
- '.github/workflows/swiftlint.yml'
- '.swiftlint.yml'
- '**/*.swift'
jobs:
SwiftLint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: GitHub Action for SwiftLint (Only files changed in the PR)
uses: norio-nomura/action-swiftlint@3.2.1
env:
DIFF_BASE: ${{ github.base_ref }}