Skip to content

Commit b27c767

Browse files
committed
ci: Enabling cache for go action
Signed-off-by: Vincent Boutour <[email protected]>
1 parent cf6b4c5 commit b27c767

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.github/workflows/build.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
uses: actions/setup-go@v3
3030
with:
3131
go-version: "^1.20"
32+
cache: true
3233

3334
- name: Build
3435
run: |
@@ -62,6 +63,7 @@ jobs:
6263
uses: actions/setup-go@v3
6364
with:
6465
go-version: "^1.20"
66+
cache: true
6567
- name: Build
6668
run: |
6769
curl --disable --silent --show-error --location --max-time 30 "https://raw.githubusercontent.com/ViBiOh/scripts/main/bootstrap" | bash -s -- "-c" "release"

.github/workflows/codeql-analysis.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
uses: actions/setup-go@v3
4444
with:
4545
go-version: "^1.20"
46+
cache: true
4647
- name: Build
4748
run: make build
4849
- name: CodeQL

.github/workflows/release.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
uses: actions/setup-go@v3
3939
with:
4040
go-version: "^1.20"
41+
cache: true
4142
- name: Build
4243
run: make init
4344
- name: GPG

0 commit comments

Comments
 (0)