File tree Expand file tree Collapse file tree 2 files changed +34
-6
lines changed Expand file tree Collapse file tree 2 files changed +34
-6
lines changed Original file line number Diff line number Diff line change 4343 env :
4444 GO111MODULE : auto
4545
46- - name : golangci-lint - vertical-pod-autoscaler
47- uses : golangci/golangci-lint-action@v8
48- with :
49- args : --timeout=30m
50- working-directory : ${{ env.GOPATH }}/src/k8s.io/autoscaler/vertical-pod-autoscaler
51-
5246 - name : Test
5347 working-directory : ${{ env.GOPATH }}/src/k8s.io/autoscaler
5448 run : hack/for-go-proj.sh test
Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ - push :
5+ paths :
6+ - ' vertical-pod-autoscaler/**'
7+ - pull_request :
8+ paths :
9+ - ' vertical-pod-autoscaler/**'
10+
11+ env :
12+ GOPATH : ${{ github.workspace }}/go
13+
14+ permissions :
15+ contents : read
16+
17+ jobs :
18+ golangci :
19+ name : lint
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : actions/checkout@v5
23+ - uses : actions/setup-go@v6
24+ with :
25+ go-version : ' 1.25.0'
26+ cache-dependency-path : |
27+ ${{ env.GOPATH}}/src/k8s.io/autoscaler/vertical-pod-autoscaler/go.sum
28+ ${{ env.GOPATH}}/src/k8s.io/autoscaler/vertical-pod-autoscaler/e2e/go.sum
29+
30+ - name : golangci-lint - vertical-pod-autoscaler
31+ uses : golangci/golangci-lint-action@v8
32+ with :
33+ args : --timeout=30m
34+ working-directory : ${{ env.GOPATH }}/src/k8s.io/autoscaler/vertical-pod-autoscaler
You can’t perform that action at this time.
0 commit comments