CI: Fix actions/setup-go@v4 warning

Warning: Restore cache failed: Dependencies file is not found ...
https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs
This commit is contained in:
YX Hao 2023-04-06 22:15:50 +08:00
parent 92063aa76d
commit aebb007227

View file

@ -27,15 +27,15 @@ jobs:
id: get_version
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
- name: Check out code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Test suite
run: |
go version