refactor: simplify github fetch and render errors inline (#23) #128
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: Lint Code Base | |
on: | |
pull_request: ~ | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Lint Code Base | |
runs-on: ubuntu-latest | |
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: Lint Code Base | |
uses: github/super-linter@v7 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
LINTER_RULES_PATH: / | |
VALIDATE_CHECKOV: false | |
VALIDATE_RUST_CLIPPY: false # super-linter uses rustc 1.78.0 but mlua requires 1.79.0 | |
VALIDATE_JSCPD: false | |
VALIDATE_PYTHON_BLACK: false | |
JAVASCRIPT_DEFAULT_STYLE: prettier |