Skip to content

Commit 7439bd2

Browse files
committed
chore: enable cache for go installation and modules
1 parent 22618fa commit 7439bd2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
uses: actions/[email protected]
1616
with:
1717
go-version-file: go.mod
18+
cache: true
1819

1920
- name: Build
2021
run: make

.github/workflows/vulnerability.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
uses: actions/[email protected]
1414
with:
1515
go-version-file: go.mod
16+
cache: true
1617

1718
- name: Check for vulnerabilities
1819
run: go run golang.org/x/vuln/cmd/govulncheck@latest ./...

0 commit comments

Comments
 (0)