🌱 Avoid dependency on apiserver/options if metrics/filters are used #2336
Workflow file for this run
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: golangci-lint | |
on: | |
pull_request: | |
types: [opened, edited, synchronize, reopened] | |
branches: | |
- main | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
working-directory: | |
- "" | |
- tools/setup-envtest | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.21' | |
cache: false | |
- uses: actions/checkout@v4 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.54.0 | |
working-directory: ${{matrix.working-directory}} |