added linter for push on main to double check the lua and shell
languages.
This commit is contained in:
parent
b61ead83c1
commit
b308ceaa5e
|
@ -0,0 +1,31 @@
|
||||||
|
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 }}
|
||||||
|
|
Loading…
Reference in New Issue