2021-05-17 16:14:10 -04:00
|
|
|
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
|
2021-05-17 16:16:46 -04:00
|
|
|
VALIDATE_LUA: true
|
2021-05-17 16:14:10 -04:00
|
|
|
OUTPUT_FOLDER: super-linter.report
|
|
|
|
OUTPUT_DETAILS: detailed
|
|
|
|
DEFAULT_BRANCH: main
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|