-
Notifications
You must be signed in to change notification settings - Fork 1
86 lines (74 loc) · 2.4 KB
/
lint-tests.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
---
name: Lint
on: # yamllint disable-line rule:truthy
push: null
permissions: {}
jobs:
build:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
- name: Super-linter
uses: super-linter/super-linter@v6.5.1 # x-release-please-version
continue-on-error: true
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_MARKDOWN: false
VALIDATE_PYTHON_BLACK: false
VALIDATE_GITHUB_ACTIONS: false
VALIDATE_PYTHON_PYLINT: false
VALIDATE_PYTHON_ISORT: false
VALIDATE_PYTHON_RUFF: false
VALIDATE_JSCPD: false
VALIDATE_NATURAL_LANGUAGE: false
VALIDATE_PYTHON_FLAKE8: false
VALIDATE_PYTHON_MYPY: false
VALIDATE_CSHARP: false
VALIDATE_CSS: false
VALIDATE_JSON: false
VALIDATE_HTML: false
VALIDATE_JAVASCRIPT_STANDARD: false
VALIDATE_TYPESCRIPT_STANDARD: false
VALIDATE_CHECKOV: false
VALIDATE_GITLEAKS: false
VALIDATE_BASH: false
VALIDATE_BASH_EXEC: false
VALIDATE_DOCKERFILE_HADOLINT: false
VALIDATE_GROOVY: false
VALIDATE_SHELL_SHFMT: false
VALIDATE_ENV: false
# doing this to use the config
run-flake8-lint:
name: Run flake8 lint
continue-on-error: true
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Run flake8
continue-on-error: true
run: |
flake8 --config=.github/configs/.flake8