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:
132
132
with :
133
133
enable-cache : true
134
134
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/[email protected]
153
- with :
154
- enable-cache : true
155
-
156
- - name : Install kube-api-linter
135
+ - name : Install custom golangci-lint
157
136
run : devbox run make hack/tools/golangci-lint-kube-api-linter
158
137
159
- - name : golangci-lint-kube-api-linter
138
+ - name : golangci-lint
160
139
env :
161
140
REVIEWDOG_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
162
141
run : |
163
142
${{ 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 }}
166
145
167
146
lint-gha :
168
147
runs-on : ubuntu-24.04
You can’t perform that action at this time.
0 commit comments