ci: fix go version to 1.22

Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
This commit is contained in:
Shengqi Chen 2025-01-11 15:16:57 +08:00
parent 3562907af9
commit 3ad551f73d
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View File

@ -15,10 +15,10 @@ jobs:
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up Go stable - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 'stable' go-version: '^1.22'
id: go id: go
- name: Build - name: Build

View File

@ -15,7 +15,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 'stable' go-version: '^1.22'
id: go id: go
- name: Get dependencies - name: Get dependencies
@ -56,7 +56,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 'stable' go-version: '^1.22'
id: go id: go
- name: Run Unit tests. - name: Run Unit tests.