File tree Expand file tree Collapse file tree 1 file changed +4
-25
lines changed Expand file tree Collapse file tree 1 file changed +4
-25
lines changed Original file line number Diff line number Diff line change @@ -132,37 +132,16 @@ jobs:
132132 with :
133133 enable-cache : true
134134
135- - name : golangci-lint
136- env :
137- REVIEWDOG_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
138- run : |
139- devbox run golangci-lint run --config=${{ github.workspace }}/.golangci.yml --output.text.path=stdout ./... | \
140- devbox run reviewdog -f=golangci-lint -reporter=github-pr-review --fail-level=any
141- working-directory : ${{ matrix.module }}
142-
143- lint-api :
144- runs-on : ubuntu-24.04
145- permissions :
146- pull-requests : write
147- steps :
148- - name : Check out code
149- uses : actions/checkout@v4
150-
151- - name : Install devbox
152- uses : jetify-com/devbox-install-action@v0.13.0
153- with :
154- enable-cache : true
155-
156- - name : Install kube-api-linter
135+ - name : Install custom golangci-lint
157136 run : devbox run make hack/tools/golangci-lint-kube-api-linter
158137
159- - name : golangci-lint-kube-api-linter
138+ - name : golangci-lint
160139 env :
161140 REVIEWDOG_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
162141 run : |
163142 ${{ github.workspace }}/hack/tools/golangci-lint-kube-api-linter run --config=${{ github.workspace }}/.golangci.yml --output.text.path=stdout ./... | \
164- devbox run reviewdog -name=kube=api-linter - f=golangci-lint -reporter=github-pr-review --fail-level=any
165- working-directory : api
143+ devbox run reviewdog -f=golangci-lint -reporter=github-pr-review --fail-level=any
144+ working-directory : ${{ matrix.module }}
166145
167146 lint-gha :
168147 runs-on : ubuntu-24.04
You can’t perform that action at this time.
0 commit comments