CI: Fix actions/setup-go@v4 warning (#2371)

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:
lifenjoiner 2023-04-15 03:20:37 +08:00 committed by GitHub
parent fbc7817366
commit 5d551e54ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

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