chore(ci): use go version file to specify the go version

This commit is contained in:
Allo 2024-02-20 09:25:22 +08:00 committed by yuhan6665
parent ad3dd3df56
commit f9653d0d88
2 changed files with 4 additions and 4 deletions

View file

@ -167,7 +167,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version-file: go.mod
check-latest: true
- name: Get project dependencies