This repository has been archived by the owner on Dec 4, 2024. It is now read-only.
wip: add support for js and add improvements to paging #14
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: macos-13 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Lint code using SwiftLint | |
run: | | |
swiftlint --version | |
swiftlint lint --reporter github-actions-logging | |
run-swiftformat: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install SwiftFormat | |
run: | | |
brew install SwiftFormat | |
- name: Lint code using SwiftFormat | |
run: | | |
swiftformat --version | |
swiftformat --config .swiftformat.yml --lint --quiet --reporter github-actions-log . |