summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/go.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 1dafe4c..03233ed 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -11,12 +11,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- name: Set up Go
- uses: actions/setup-go@v2
+ uses: actions/setup-go@v5
with:
- go-version: 1.20
+ cache-dependency-path: './go.sum'
+ go-version-file: './go.mod'
- name: Build
run: go build -v ./...