chore: update Go version and dependencies for builds

- Update Go version from `1.20` to `1.21` in go.mod, .github/workflows/build.yml, and .github/workflows/lint.yml
This commit is contained in:
moonD4rk
2023-10-02 22:37:42 +08:00
parent 142d9e99e2
commit 83fc248195
5 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
goVer: ["1.20"]
goVer: ["1.21"]
steps:
- name: Set up Go ${{ matrix.goVer }}
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
- name: Set Golang
uses: actions/setup-go@v3
with:
go-version: "1.20"
go-version: "1.21"
- name: Checkout code
uses: actions/checkout@v3
- name: Lint
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
- name: Use Golang
uses: actions/setup-go@v3
with:
go-version: "1.20"
go-version: "1.21"
- name: Build with xgo
uses: crazy-max/ghaction-xgo@v2