forked from m5stack/M5Tab5-UserDemo
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (39 loc) · 996 Bytes
/
lint.yml
File metadata and controls
42 lines (39 loc) · 996 Bytes
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
34
35
36
37
38
39
40
41
42
---
name: Lint
on:
pull_request:
push:
branches: [main]
jobs:
yamllint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: false
submodules: recursive
- name: Guard against Git LFS usage
run: |
if git grep -n "filter=lfs" -- .gitattributes; then
echo "Refusing to proceed: LFS filters detected in .gitattributes"
exit 1
fi
- uses: frenck/action-yamllint@v1
with:
config_file: .yamllint.yml
superlinter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: false
submodules: recursive
- uses: super-linter/super-linter@v7
env:
VALIDATE_ALL_CODEBASE: true
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_C: true
VALIDATE_CPP: true
VALIDATE_MARKDOWN: true
VALIDATE_YAML: true