diff options
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r-- | .github/workflows/lint.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000000..4751cb3d20 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,29 @@ +name: lint + +on: + push: + branches: + - master + - ci + - 'release/**' + pull_request: + branches: [master] + +jobs: + commit-msg: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 50 + + - name: Lint + run: | + ./ci/lint-commit-msg.py + + swift-lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: norio-nomura/action-swiftlint@3.2.1 |