Merge branch 'main' of https://github.com/AuroraEditor/Version-Contro… #24
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: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
runs-on: macos-12 | |
timeout-minutes: 10 # If a build exceeds 10 mins, it probably isn't ever going to complete | |
steps: | |
- uses: actions/checkout@v2 | |
- name: MacOS Version | |
run: sw_vers | |
- name: Toolchain version | |
run: swift -version | |
- name: SwiftLint (version) | |
run: swiftlint version | |
- name: SwiftLint (GH Actions) | |
run: swiftlint --reporter github-actions-logging --strict |