forked from NLeSC/python-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
linting.yml
37 lines (35 loc) · 1.04 KB
/
linting.yml
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
---
name: Linting
on: [push, pull_request]
jobs:
linting:
name: Lint the code base
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: lint .github/ directory
uses: docker://github/super-linter:v3
env:
VALIDATE_ALL_CODEBASE: true
FILTER_REGEX_INCLUDE: /github/workspace/.github/.*
- name: lint the code
uses: docker://github/super-linter:v3
env:
VALIDATE_BASH: true
VALIDATE_BASH_EXEC: true
VALIDATE_CSS: true
VALIDATE_DOCKERFILE: true
VALIDATE_EDITORCONFIG: true
VALIDATE_HTML: true
VALIDATE_JAVASCRIPT_ES: true
VALIDATE_JSON: true
VALIDATE_JSX: true
VALIDATE_MARKDOWN: true
VALIDATE_PYTHON: true
VALIDATE_PYTHON_ISORT: true
VALIDATE_PYTHON_PYLINT: true
VALIDATE_TSX: true
VALIDATE_TYPESCRIPT_ES: true
VALIDATE_YAML: true
FILTER_REGEX_INCLUDE: /github/workspace/.*