Skip to content

Commit 7d5264e

Browse files
committed
[DDS-514] Disabled caching in actions/setup-go
- Disabled caching in `actions/setup-go` before `golangci/golangci-lint-action` within `go-lint` job in `Lint` workflow to avoid golangci/golangci-lint-action#23. - Removed redundant `cache: true` parameter from `actions/setup-go` within all the other jobs.
1 parent ed99c5a commit 7d5264e

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

.github/workflows/build.yml

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
- uses: actions/setup-go@v4
2020
with:
2121
go-version-file: ./go.mod
22-
cache: true
2322

2423
- name: Run GoReleaser
2524
uses: goreleaser/goreleaser-action@v4

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- uses: actions/setup-go@v4
4242
with:
4343
go-version-file: ./go.mod
44-
cache: true
44+
cache: false # to bypass https://github.com/golangci/golangci-lint-action/issues/23
4545

4646
- name: Run golangci-lint
4747
uses: golangci/golangci-lint-action@v3

.github/workflows/test.yml

-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
- uses: actions/setup-go@v4
2323
with:
2424
go-version-file: ./go.mod
25-
cache: true
2625

2726
- name: Install ginkgo
2827
working-directory: ./..
@@ -85,7 +84,6 @@ jobs:
8584
- uses: actions/setup-go@v4
8685
with:
8786
go-version-file: ./go.mod
88-
cache: true
8987

9088
- name: Install ginkgo
9189
working-directory: ./..

0 commit comments

Comments
 (0)