refactor/dependence: Upgrade Golang version and dependencies. (#322)

* chore: Set up automated package updates with dependabot.
This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2024-04-12 19:57:32 +08:00
parent 536f2082f9
commit 06fc064418
12 changed files with 123 additions and 69 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
goVer: ["1.21.x"]
goVer: ["1.22.x"]
steps:
- name: Check out code into the Go module directory
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
- name: Set Golang
uses: actions/setup-go@v5
with:
go-version: "1.21.x"
go-version: "1.22.x"
cache: false
- name: Check spelling with custom config file
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
- name: Use Golang
uses: actions/setup-go@v5
with:
go-version: "1.21.x"
go-version: "1.22.x"
- name: Build with xgo
uses: crazy-max/ghaction-xgo@v2
+2 -2
View File
@@ -10,7 +10,7 @@ jobs:
test:
strategy:
matrix:
go-version: [ "1.21.x" ]
go-version: [ "1.22.x" ]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
@@ -33,7 +33,7 @@ jobs:
if: success()
uses: actions/setup-go@v5
with:
go-version: "1.21.x"
go-version: "1.22.x"
- name: Checkout code
uses: actions/checkout@v4
- name: Calc coverage