Skip to content

Commit

Permalink
Create swiftLint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SKemenov committed Mar 20, 2024
1 parent e800eff commit 1c2e938
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/swiftLint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: SwiftLint

on:
push:
# pull_request:
paths:
- '**/*.swift'

jobs:
SwiftLint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: GitHub Action for SwiftLint
uses: norio-nomura/action-swiftlint@3.2.1
#
# - name: GitHub Action for SwiftLint with --strict
# uses: norio-nomura/action-swiftlint@3.2.1
# with:
# args: --strict
#
# - 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 }}
#
# - name: GitHub Action for SwiftLint (Different working directory)
# uses: norio-nomura/action-swiftlint@3.2.1
# env:
# WORKING_DIRECTORY: Source

0 comments on commit 1c2e938

Please sign in to comment.