fix: improve search structure, add better status for repos, search, a… #29
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: lint | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
run-swiftlint: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/realm/swiftlint:0.54.0 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Lint code using SwiftLint | |
run: | | |
swiftlint --version | |
swiftlint lint --reporter github-actions-logging | |
run-swiftformat: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/nicklockwood/swiftformat:0.52.11 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Lint code using SwiftFormat | |
run: | | |
swiftformat --version | |
swiftformat --config .swiftformat.yml --lint --quiet --reporter github-actions-log . |