Skip to content

Commit

Permalink
Add SwiftLint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jessesquires committed Jun 25, 2024
1 parent c560004 commit 8417b05
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# GitHub Actions Virtual Environments
# https://github.com/actions/virtual-environments/
name: SwiftLint

on:
pull_request:
paths:
- '.github/workflows/swiftlint.yml'
- '.swiftlint.yml'
- '**/*.swift'

env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer

jobs:
SwiftLint:
runs-on: macos-14
steps:
- name: git checkout
uses: actions/checkout@v4

# https://github.com/norio-nomura/action-swiftlint
- name: Run SwiftLint
uses: norio-nomura/[email protected]
with:
args: --strict

0 comments on commit 8417b05

Please sign in to comment.