ci: create codeql action #13
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
# This workflow will build a Swift project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift | |
name: Lint code | |
on: push | |
# Allow one concurrent deployment | |
concurrency: | |
group: "linting" | |
cancel-in-progress: true | |
jobs: | |
SwiftLint: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Lint code using SwiftLint | |
run: swiftlint lint --reporter github-actions-logging |