Skip to content

Commit

Permalink
Replace Super-Linter
Browse files Browse the repository at this point in the history
The Super-Linter feels unnecessarily heavy when all the actual
application linting is done standalone and properly customized.
  • Loading branch information
andreaso committed Jan 22, 2025
1 parent 83bf031 commit 0519759
Showing 1 changed file with 11 additions and 24 deletions.
35 changes: 11 additions & 24 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,32 +52,19 @@ jobs:
- name: Check type hints
run: .venv/bin/mypy --strict vault_oidc_ssh_cert_action.py

super:
name: Super-Linter
runs-on: ubuntu-latest

permissions:
contents: read
statuses: write
secondary:
name: Secondary linting
runs-on: ubuntu-24.04

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Lint
uses: super-linter/super-linter/slim@v7
env:
VALIDATE_ALL_CODEBASE: true
VALIDATE_MARKDOWN_PRETTIER: false
VALIDATE_PYTHON_BLACK: false
VALIDATE_PYTHON_FLAKE8: false
VALIDATE_PYTHON_ISORT: false
VALIDATE_PYTHON_MYPY: false
VALIDATE_PYTHON_PYINK: false
VALIDATE_PYTHON_PYLINT: false
VALIDATE_PYTHON_RUFF: false
VALIDATE_YAML_PRETTIER: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Secondary Linters
uses: andreaso/setup-secondary-linters@main

- name: Lint GitHub Actions workflows
run: actionlint

- name: Markdown lint README
run: markdownlint README.md

0 comments on commit 0519759

Please sign in to comment.