Skip to content

Commit ac2d24d

Browse files
bugfix(ci): specify go version for test and deploy
the matrix was only specified for the test job, which caused the deploy job to fail
1 parent a0257ea commit ac2d24d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/pipeline.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ on:
88
pull_request:
99
branches:
1010
- master
11+
env:
12+
GO_VERSION: 1.25.3
1113
jobs:
1214
test:
1315
strategy:
1416
matrix:
15-
go-version: [1.25.3]
1617
os: [ubuntu-latest]
1718
runs-on: ${{ matrix.os }}
1819
steps:
@@ -21,7 +22,7 @@ jobs:
2122
- name: Install Go
2223
uses: actions/setup-go@v6
2324
with:
24-
go-version: ${{ matrix.go-version }}
25+
go-version: "$GO_VERSION"
2526
- name: Compile
2627
run: make build
2728
- name: golangci-lint
@@ -59,7 +60,7 @@ jobs:
5960
- name: Install Go
6061
uses: actions/setup-go@v6
6162
with:
62-
go-version: ${{ matrix.go-version }}
63+
go-version: "$GO_VERSION"
6364
- name: Prepare
6465
id: prep
6566
run: |

pkg/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var (
2626
Branch string
2727
BuildDate string
2828
GitSHA1 string
29-
Version = "v0.2.3"
29+
Version = "v0.2.4"
3030
)
3131

3232
// Get returns the version string with some additional details

0 commit comments

Comments
 (0)