Skip to content

Commit

Permalink
Add SwiftLint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbaird authored Oct 22, 2023
1 parent 72a1ef1 commit d1788e9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: SwiftLint

on:
push:
branches:
- main
paths:
- ".github/workflows/swiftlint.yml"
- ".swiftlint.yml"
- "**/*.swift"
pull_request:
paths:
- ".github/workflows/swiftlint.yml"
- ".swiftlint.yml"
- "**/*.swift"

jobs:
swiftlint:
if: '!github.event.pull_request.merged'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run SwiftLint
uses: norio-nomura/[email protected]

0 comments on commit d1788e9

Please sign in to comment.