2021-04-05 02:13:32 +02:00
|
|
|
name: Lint
|
2020-12-15 02:01:37 +01:00
|
|
|
|
|
|
|
on: [pull_request]
|
|
|
|
|
2021-12-17 14:48:15 +01:00
|
|
|
concurrency:
|
|
|
|
group: lint-${{ github.event.pull_request.number || github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-12-15 02:01:37 +01:00
|
|
|
jobs:
|
2021-04-05 02:13:32 +02:00
|
|
|
lint:
|
|
|
|
name: Lint
|
2020-12-15 02:01:37 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-04-06 06:41:14 +02:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2021-04-09 18:35:47 +02:00
|
|
|
- run: mkdir super-linter.report
|
|
|
|
- name: Lint
|
2021-12-21 18:08:35 +01:00
|
|
|
uses: github/super-linter@v4
|
2020-12-29 20:53:05 +01:00
|
|
|
env:
|
2021-04-09 18:35:47 +02:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2021-04-06 06:41:14 +02:00
|
|
|
VALIDATE_ALL_CODEBASE: false
|
2021-04-05 02:13:32 +02:00
|
|
|
VALIDATE_PYTHON_BLACK: true
|
2021-04-09 18:35:47 +02:00
|
|
|
VALIDATE_PYTHON_FLAKE8: true
|
|
|
|
PYTHON_FLAKE8_CONFIG_FILE: setup.cfg
|
|
|
|
VALIDATE_PYTHON_ISORT: true
|
|
|
|
PYTHON_ISORT_CONFIG_FILE: setup.cfg
|
|
|
|
VALIDATE_YAML: true
|