-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lint PRs and show inline comments for violations (#5935)
The long-running integration tests are no longer needed (in CI). Having violations reported right in the PR is much more convenient.
- Loading branch information
1 parent
28ce97c
commit 4f55943
Showing
3 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Lint | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- '*' | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-24.04 # "Noble Numbat" | ||
container: swift:6.0-noble | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Lint | ||
run: swift run swiftlint --reporter github-actions-logging --strict 2> /dev/null |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
trigger: | ||
- main | ||
|
||
variables: | ||
CI: 'true' | ||
|
||
jobs: | ||
- job: Ubuntu | ||
pool: | ||
|