-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 960 Bytes
/
code-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
38
39
40
---
name: Linting
on: [pull_request,workflow_dispatch]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
steps:
- name: Fetch actions (v3)
uses: actions/checkout@v3
with:
submodules: true
- name: Remove docs before linting
run: rm -rf docs
- name: Remove tutorials before linting
run: rm -rf tutorials
- name: Remove archived code before linting
run: rm -rf src/archive
- name: Remove .vscode before linting
run: rm -rf .vscode
- name: Remove .github before linting
run: rm -rf .github
- name: Super-Linter
uses: github/[email protected]
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_HTML: false
VALIDATE_CSS: false
VALIDATE_JAVASCRIPT_ES: false
VALIDATE_JAVASCRIPT_STANDARD: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}