Fix: Improve format-coding.sh execution time #6315
This file contains hidden or 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: Linter | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| permissions: | |
| contents: read # for actions/checkout to fetch code | |
| name: Lint Code Base | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout Code | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| # Full git history is needed to get a proper | |
| # list of changed files within `super-linter` | |
| fetch-depth: 0 | |
| ################################ | |
| # Run Linter against code base # | |
| ################################ | |
| - name: Lint Code Base | |
| uses: github/super-linter/slim@4e51915f4a812abf59fed160bb14595c0a38a9e7 # v6 | |
| env: | |
| DEFAULT_BRANCH: main | |
| VALIDATE_CPP: false | |
| VALIDATE_JSCPD: false | |
| VALIDATE_JSON: false | |
| VALIDATE_CHECKOV: false | |
| VALIDATE_PYTHON_MYPY: false | |
| VALIDATE_DOCKERFILE_HADOLINT: false | |
| VALIDATE_PYTHON_PYLINT: false | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| LOG_LEVEL: WARN |