Bump github/super-linter from 6 to 7 (#116) #152
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 Java Code | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- unlabeled | |
jobs: | |
Lint_Java: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Lint_Java | |
uses: github/super-linter@v7 | |
env: | |
VALIDATE_ALL_CODEBASE: true # lint all files | |
VALIDATE_JAVA: true # only lint Java files | |
DEFAULT_BRANCH: main | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Enables better overview of runs |