Linting #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 }} |