This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
Merge pull request #2 from gregcotten/fix-macOS-generator #110
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SwiftLint | |
on: | |
push: | |
paths: | |
- '.github/workflows/swiftlint.yml' | |
- '.swiftlint.yml' | |
- '**/*.swift' | |
pull_request: | |
paths: | |
- '.github/workflows/swiftlint.yml' | |
- '.swiftlint.yml' | |
- '**/*.swift' | |
workflow_dispatch: | |
paths: | |
- '.github/workflows/swiftlint.yml' | |
- '.swiftlint.yml' | |
- '**/*.swift' | |
jobs: | |
SwiftLint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: SwiftLint | |
uses: norio-nomura/[email protected] | |
with: | |
args: --strict | |
env: | |
WORKING_DIRECTORY: Source |