wip: add improvements to jscore, video player "refactor" with content… #15
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 . |