Lint
Linting
Linting
name: SwiftLint
on: [push, pull_request]
jobs: SwiftLint--strict: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: GitHub Action for SwiftLint with --strict uses: norio-nomura/action-swiftlint@3.2.1 with: args: --strict
Then place the following code in a README.md file in your root folder:
Make sure you replace <OWNER> with your Github Account name, and <REPOSITORY> with the name of your project!