Skip to content

Use githubLicenses for the latest_result.txt output #151

Use githubLicenses for the latest_result.txt output

Use githubLicenses for the latest_result.txt output #151

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches:
- main
jobs:
lint:
# Follow https://github.com/Cyberbeni/install-swift-tool/blob/master/.github/workflows/test.yml#L9
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Install SwiftLint
uses: Cyberbeni/install-swift-tool@v2
with:
url: https://github.com/realm/SwiftLint
version: '0.46.5' # Workaround for https://github.com/realm/SwiftLint/issues/4031
- name: Lint (strict)
run: swiftlint lint --strict .