Skip to content

Linter CI part 1

Linter CI part 1 #12

Workflow file for this run

---
# Lint/analyse code with Super-Linter.
name: Checks
on:
pull_request:
branches: [main]
push:
branches: [main, 'releases/**']
permissions: read-all
jobs:
check:
name: Lint
runs-on: ubuntu-latest
strategy:
max-parallel: 4
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
permissions:
contents: read
packages: read
statuses: write
steps:
- name: Checkout current
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Super-Linter
uses: super-linter/super-linter/[email protected]
env:
FILTER_REGEX_EXCLUDE: (.*[.]conf.py|pull_request_template.md|/linters/)
IGNORE_GITIGNORED_FILES: true
VALIDATE_BASH_EXEC: false
VALIDATE_JAVASCRIPT_STANDARD: false
VALIDATE_JSCPD: false
VALIDATE_MARKDOWN_PRETTIER: false
VALIDATE_PYTHON_FLAKE8: false
VALIDATE_PYTHON_ISORT: false
VALIDATE_PYTHON_MYPY: false
VALIDATE_PYTHON_PYINK: false
VALIDATE_PYTHON_PYLINT: false
VALIDATE_SHELL_SHFMT: false
VALIDATE_YAML_PRETTIER: false
VALIDATE_YAML: false
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
...