Skip to content

Commit

Permalink
Create swiftlint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DheerajRathore authored Nov 5, 2024
1 parent f669847 commit 0e3f26c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: SwiftLint

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

jobs:
swiftlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: GitHub Action for SwiftLint
uses: norio-nomura/[email protected]

- name: Upload SwiftLint results
uses: actions/upload-artifact@v3
if: always()
with:
name: swiftlint-results
path: swiftlint.result.json

0 comments on commit 0e3f26c

Please sign in to comment.