Skip to content

Commit dacd895

Browse files
authored
Use latest stable version of Go (#198)
1 parent 1adcb89 commit dacd895

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,22 @@ jobs:
2929
runs-on: ubuntu-22.04
3030
permissions:
3131
contents: read
32+
strategy:
33+
fail-fast: false
34+
matrix:
35+
go-version: [stable]
3236
steps:
3337
- name: Checkout Repository
3438
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3539

3640
- name: Setup Golang Environment
3741
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
3842
with:
39-
go-version-file: go.mod
43+
go-version: ${{ matrix.go-version }}
4044

4145
- name: Run Unit Tests
4246
run: make unit-test
47+
4348
build:
4449
name: Build Client
4550
runs-on: ubuntu-22.04
@@ -92,7 +97,7 @@ jobs:
9297
- name: Setup Golang Environment
9398
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
9499
with:
95-
go-version-file: go.mod
100+
go-version: stable
96101

97102
- name: Run GoReleaser
98103
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Setup Golang Environment
5656
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
5757
with:
58-
go-version-file: go.mod
58+
go-version: stable
5959

6060
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
6161
# If this step fails, then you should remove it and run the build manually (see below)

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup Golang Environment
2727
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
2828
with:
29-
go-version-file: go.mod
29+
go-version: stable
3030

3131
- name: Lint Code
3232
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0

0 commit comments

Comments
 (0)