Skip to content

ci: enable super-linter #1

ci: enable super-linter

ci: enable super-linter #1

Workflow file for this run

name: super-linter
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout with history
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run super-linter
uses: super-linter/[email protected]
env:
VALIDATE_ALL_CODEBASE: false # only check new or edited files
# language configurations
VALIDATE_CLANG_FORMAT: true
VALIDATE_GIT_COMMITLINT: true
VALIDATE_MARKDOWN: true
VALIDATE_YAML: true
# misc configurations
CREATE_LOG_FILE: true
ENFORCE_COMMITLINT_CONFIGURATION_CHECK: true
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_GITLEAKS: true
- name: Upload log file
uses: actions/upload-artifact@v4
with:
path: super-linter.log