32 lines
860 B
YAML
32 lines
860 B
YAML
|
name: Super-Linter
|
||
|
|
||
|
# Run this workflow every time a new commit pushed to your repository
|
||
|
on: push
|
||
|
|
||
|
jobs:
|
||
|
# Set the job key. The key is displayed as the job name
|
||
|
# when a job name is not provided
|
||
|
super-lint:
|
||
|
# Name the Job
|
||
|
name: Lint code base
|
||
|
# Set the type of machine to run on
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
# Checks out a copy of your repository on the ubuntu-latest machine
|
||
|
- name: Checkout code
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
# Runs the Super-Linter action
|
||
|
- name: Run Super-Linter
|
||
|
uses: github/super-linter@v3
|
||
|
env:
|
||
|
VALIDATE_YAML: true
|
||
|
VALIDATE_BASH_EXEC: true
|
||
|
VALIDATE_PYTHON_PYLINT: true
|
||
|
OUTPUT_FOLDER: super-linter.report
|
||
|
OUTPUT_DETAILS: detailed
|
||
|
DEFAULT_BRANCH: main
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
|