Add config for interface imports (#908) #1865
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: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer | |
jobs: | |
lint: | |
name: Lint | |
runs-on: macos-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
- name: Download swiftlint binary | |
run: swift package resolve | |
- name: Lint | |
run: > | |
"$(find ".build/artifacts/swiftlint" -type f -name swiftlint -perm +111 -print -quit)" | |
lint --strict --reporter github-actions-logging |