-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 921 Bytes
/
linter.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
name: Linter
# yamllint disable-line rule:truthy
on:
pull_request: ~
push:
branches:
- main
jobs:
build:
name: Linter
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Lint Lua Files
uses: NTBBloodbath/selene-action@v1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --display-style=quiet .
- name: Lint GH Actions, Markdown, Python, and Shell Files
uses: super-linter/super-linter/slim@v5
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_MARKDOWN: true
VALIDATE_PYTHON_PYLINT: true
VALIDATE_SHELL_SHFMT: true