Skip to content

Commit 366a96d

Browse files
committed
Upgrade go version to avoid cve
1 parent 08e3f3d commit 366a96d

8 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/ci-bookie-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
bookie-ut-tests:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Set up Go 1.25.11
14+
- name: Set up Go 1.25.12
1515
uses: actions/setup-go@v6
1616
with:
17-
go-version: 1.25.11
17+
go-version: 1.25.12
1818
id: go
1919
- name: Check out code into the Go module directory
2020
uses: actions/checkout@v2

.github/workflows/ci-functions-checks.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
- name: Login SN docker hub
1515
if: github.actor == 'streamnativebot'
1616
run: docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
17-
- name: Set up Go 1.25.11
17+
- name: Set up Go 1.25.12
1818
uses: actions/setup-go@v6
1919
with:
20-
go-version: 1.25.11
20+
go-version: 1.25.12
2121
id: go
2222
- name: Check out code into the Go module directory
2323
uses: actions/checkout@v2
@@ -34,10 +34,10 @@ jobs:
3434
- name: Login SN docker hub
3535
if: github.actor == 'streamnativebot'
3636
run: docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
37-
- name: Set up Go 1.25.11
37+
- name: Set up Go 1.25.12
3838
uses: actions/setup-go@v6
3939
with:
40-
go-version: 1.25.11
40+
go-version: 1.25.12
4141
id: go
4242
- name: Check out code into the Go module directory
4343
uses: actions/checkout@v2
@@ -51,10 +51,10 @@ jobs:
5151
- name: Login SN docker hub
5252
if: github.actor == 'streamnativebot'
5353
run: docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
54-
- name: Set up Go 1.25.11
54+
- name: Set up Go 1.25.12
5555
uses: actions/setup-go@v6
5656
with:
57-
go-version: 1.25.11
57+
go-version: 1.25.12
5858
id: go
5959
- name: Check out code into the Go module directory
6060
uses: actions/checkout@v2

.github/workflows/ci-packages-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
- name: Login SN docker hub
1515
if: github.actor == 'streamnativebot'
1616
run: docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
17-
- name: Set up Go 1.25.11
17+
- name: Set up Go 1.25.12
1818
uses: actions/setup-go@v5
1919
with:
20-
go-version: 1.25.11
20+
go-version: 1.25.12
2121
id: go
2222
- name: Check out code into the Go module directory
2323
uses: actions/checkout@v2

.github/workflows/ci-release-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
go-version: [ 1.25.11 ]
17+
go-version: [ 1.25.12 ]
1818
steps:
1919
- uses: actions/checkout@v2
2020
- uses: actions/setup-go@v5

.github/workflows/ci-style-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
style-check:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Set up Go 1.25.11
14+
- name: Set up Go 1.25.12
1515
uses: actions/setup-go@v5
1616
with:
17-
go-version: 1.25.11
17+
go-version: 1.25.12
1818
id: go
1919
- name: Check out code into the Go module directory
2020
uses: actions/checkout@v2

.github/workflows/ci-trivy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
scan-vulnerabilities:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- name: Set up Go 1.25.11
15+
- name: Set up Go 1.25.12
1616
uses: actions/setup-go@v5
1717
with:
18-
go-version: 1.25.11
18+
go-version: 1.25.12
1919
id: go
2020

2121
- name: Check out code into the Go module directory

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/streamnative/pulsarctl
22

3-
go 1.25.11
3+
go 1.25.12
44

55
require (
66
github.com/apache/pulsar-client-go v0.18.0-candidate-1.0.20251222030102-3bb7d4eff361

scripts/test-docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ USER root
99
RUN apk update && apk add curl git build-base
1010

1111
# install golang
12-
COPY --from=golang:1.25.11-alpine /usr/local/go/ /usr/local/go/
12+
COPY --from=golang:1.25.12-alpine /usr/local/go/ /usr/local/go/
1313
ENV PATH /usr/local/go/bin:$PATH
1414

1515

0 commit comments

Comments
 (0)