Skip to content

Commit 0c85a57

Browse files
committed
fix: update action
1 parent 74e4e11 commit 0c85a57

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/go.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@ jobs:
1414
build:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818

1919
- name: Set up Go
20-
uses: actions/setup-go@v4
20+
uses: actions/setup-go@v5
2121
with:
22-
go-version: '1.20'
22+
go-version-file: 'go.mod'
23+
cache: true
2324

2425
- name: Build
2526
run: go build -v ./...

0 commit comments

Comments
 (0)