Skip to content

Commit

Permalink
Add pr_checks GitHub Actions workflow (#1766)
Browse files Browse the repository at this point in the history
* Add pr_checks GitHub Actions workflow
Implements linter checks on the PR.

* lint whole project

* fix swiftlint artificial violation
  • Loading branch information
rinat-enikeev authored Dec 11, 2023
1 parent 3767990 commit ace2482
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pr_checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Checks for opened PR

on:
pull_request:
types: [opened, synchronize]

jobs:
swiftlint:
runs-on: ubuntu-latest
name: SwiftLint
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Lint
uses: norio-nomura/action-swiftlint@3.2.1

0 comments on commit ace2482

Please sign in to comment.