Skip to content

Commit e05a802

Browse files
authored
Update setup-go action to cache dependencies
1 parent 577e855 commit e05a802

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
3737
with:
3838
go-version-file: 'go.mod'
39-
cache: false
4039
- name: run goproxy-sanity-check
4140
run: |
4241
make build
@@ -55,7 +54,6 @@ jobs:
5554
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
5655
with:
5756
go-version-file: 'go.mod'
58-
cache: false
5957
- name: Lint Go
6058
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
6159
with:
@@ -77,7 +75,6 @@ jobs:
7775
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
7876
with:
7977
go-version-file: 'go.mod'
80-
cache: false
8178
- name: Run Unit Tests
8279
run: make unit-test
8380
- name: Uplaod Test Coverage
@@ -100,7 +97,6 @@ jobs:
10097
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
10198
with:
10299
go-version-file: 'go.mod'
103-
cache: false
104100
- name: Run unit tests with race condition detection
105101
run: make race-condition-test
106102

@@ -120,7 +116,6 @@ jobs:
120116
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
121117
with:
122118
go-version-file: 'go.mod'
123-
cache: false
124119
- name: Setup Build Environment
125120
run: go install github.com/goreleaser/nfpm/v2/cmd/nfpm@${{ env.NFPM_VERSION }}
126121
- name: Build Packages
@@ -157,7 +152,6 @@ jobs:
157152
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
158153
with:
159154
go-version-file: 'go.mod'
160-
cache: false
161155
- name: Download Packages
162156
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
163157
with:
@@ -207,7 +201,6 @@ jobs:
207201
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
208202
with:
209203
go-version-file: 'go.mod'
210-
cache: false
211204
- name: Download Packages
212205
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
213206
with:
@@ -264,7 +257,6 @@ jobs:
264257
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
265258
with:
266259
go-version-file: 'go.mod'
267-
cache: false
268260
- name: Download Packages
269261
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
270262
with:
@@ -331,7 +323,6 @@ jobs:
331323
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
332324
with:
333325
go-version-file: 'go.mod'
334-
cache: false
335326
- name: Download Packages
336327
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
337328
with:
@@ -397,7 +388,6 @@ jobs:
397388
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
398389
with:
399390
go-version-file: 'go.mod'
400-
cache: false
401391
- name: Download Packages
402392
uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4.1.2
403393
with:
@@ -464,7 +454,6 @@ jobs:
464454
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
465455
with:
466456
go-version-file: 'go.mod'
467-
cache: false
468457
- name: Download Packages
469458
uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4.1.2
470459
with:
@@ -515,7 +504,6 @@ jobs:
515504
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
516505
with:
517506
go-version-file: 'go.mod'
518-
cache: false
519507
- name: Run Performance Tests
520508
run: |
521509
make performance-test
@@ -547,8 +535,6 @@ jobs:
547535
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
548536
with:
549537
go-version-file: 'go.mod'
550-
cache: false
551-
552538
- name: Download Packages
553539
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
554540
with:

0 commit comments

Comments
 (0)