2023-04-04 13:10:20 +00:00
|
|
|
name: lint
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- ci
|
|
|
|
- 'release/**'
|
|
|
|
pull_request:
|
|
|
|
branches: [master]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
commit-msg:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-01-24 17:29:49 +00:00
|
|
|
- uses: actions/checkout@v4
|
2023-04-04 13:10:20 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 50
|
|
|
|
|
|
|
|
- name: Lint
|
|
|
|
run: |
|
|
|
|
./ci/lint-commit-msg.py
|
2024-04-27 20:02:23 +00:00
|
|
|
|
|
|
|
swift-lint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- uses: norio-nomura/action-swiftlint@3.2.1
|
2024-05-11 18:13:42 +00:00
|
|
|
|
|
|
|
lua-lint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: lunarmodules/luacheck@v1
|
2024-09-13 17:22:05 +00:00
|
|
|
|
|
|
|
python-lint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: chartboost/ruff-action@v1
|
2024-10-20 12:00:47 +00:00
|
|
|
|
|
|
|
editorconfig-lint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: editorconfig-checker/action-editorconfig-checker@main
|
|
|
|
- run: editorconfig-checker -config .editorconfig-checker.json
|