Skip to content

Commit dbea041

Browse files
authored
Add caching to CI workflow
1 parent bcdf2a2 commit dbea041

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/go.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
uses: actions/setup-go@v2
2121
with:
2222
go-version: 1.18
23+
check-latest: true
24+
cache: true
2325

2426
- name: Build
2527
run: go build -v ./...
@@ -46,4 +48,4 @@ jobs:
4648
with:
4749
paths: |
4850
${{ github.workspace }}/report.xml
49-
if: always()
51+
if: always()

0 commit comments

Comments
 (0)