github.com/nginxinc/kubernetes-ingress@v1.12.5/.github/workflows/lint.yml (about) 1 name: Lint 2 3 on: 4 pull_request: 5 branches: 6 - master 7 paths-ignore: 8 - 'docs/**' 9 - 'docs-web/**' 10 - 'examples/**' 11 - 'examples-of-custom-resources/**' 12 - '**.md' 13 types: 14 - opened 15 - reopened 16 - synchronize 17 18 defaults: 19 run: 20 shell: bash 21 22 env: 23 GOLANGCI_TIMEOUT: 10m0s 24 25 jobs: 26 27 lint: 28 name: Lint 29 runs-on: ubuntu-20.04 30 steps: 31 - name: Checkout Repository 32 uses: actions/checkout@v2 33 - name: Lint Code 34 uses: golangci/golangci-lint-action@v2 35 with: 36 args: --timeout ${{ env.GOLANGCI_TIMEOUT }}