fix(deps): update github.com/openshift/api digest to 71e91db #1182
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: Run Linter | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - 'docs/**' | |
| - '**/*.adoc' | |
| - '.github/**' | |
| permissions: | |
| contents: read | |
| jobs: | |
| golangci: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Display build environment | |
| run: printenv | |
| - uses: actions/setup-go@v4 | |
| name: Set up Go 1.x | |
| with: | |
| go-version: "1.22.7" | |
| env: | |
| GO111MODULE: off | |
| - uses: actions/checkout@v3 | |
| name: Checkout ENO | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v3 | |
| with: | |
| version: latest | |
| args: > | |
| --enable=errcheck,gocritic,gofmt,goimports,gosec,gosimple,govet,ineffassign,revive,staticcheck,typecheck,unused,bodyclose | |
| --fix=false | |
| --max-same-issues=20 | |
| --out-${NO_FUTURE}format=colored-line-number | |
| --print-issued-lines=true | |
| --print-linter-name=true | |
| --sort-results=true | |
| --timeout=5m0s | |
| --uniq-by-line=false | |
| only-new-issues: false |