Skip to content

github/workflows: add editorconfig linting #7411

github/workflows: add editorconfig linting

github/workflows: add editorconfig linting #7411

Workflow file for this run

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/[email protected]
lua-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: lunarmodules/luacheck@v1
python-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
editorconfig-lint:
runs-on: ubuntu-latest
steps:
#- uses: actions/setup-go@v5
# with:
# go-version: '1.23.2'
- run: GOBIN=/usr/local/bin/ go install github.com/editorconfig-checker/editorconfig-checker/v3/cmd/editorconfig-checker@latest
- uses: actions/checkout@v4
- run: editorconfig-checker -config .editorconfig-checker.json