Skip to content

Commit f17af31

Browse files
authored
chore(security) : upgrade golang to 1.22.5 to fix CVE (#1102)
* upgrade golang to 1.22.5 to fix CVE * upgrade golang to 1.22.5 to fix CVE
1 parent 3e384c4 commit f17af31

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

.github/workflows/go-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
go-test:
88
strategy:
99
matrix:
10-
go-version: [1.22.2]
10+
go-version: [1.22.5]
1111
os: [ubuntu-latest, macos-latest, windows-latest]
1212
runs-on: ${{ matrix.os }}
1313
steps:

.github/workflows/go-lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jobs:
1212
- name: Set up Go
1313
uses: actions/setup-go@v5
1414
with:
15-
go-version: 1.22.2
15+
go-version: 1.22.5
1616
- run: ./dev/go-lint.sh

.github/workflows/goreleaser-check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: 1.22.2
19+
go-version: 1.22.5
2020
- name: Check GoReleaser config
2121
uses: goreleaser/goreleaser-action@v5
2222
with:

.github/workflows/goreleaser.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177
- name: Set up Go
178178
uses: actions/setup-go@v5
179179
with:
180-
go-version: 1.22
180+
go-version: 1.22.5
181181
- run: go test ./...
182182
- run: go test -race -v ./...
183183
- run: echo "${DOCKER_PASSWORD}" | docker login -u=$DOCKER_USERNAME --password-stdin

.github/workflows/pr-auditor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
with:
1414
repository: 'sourcegraph/pr-auditor'
1515
- uses: actions/setup-go@v5
16-
with: { go-version: '1.22.2' }
16+
with: { go-version: '1.22.5' }
1717

1818
- run: './check-pr.sh'
1919
env:

.tool-versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
golang 1.22.3
1+
golang 1.22.5
22
shfmt 3.8.0
33
shellcheck 0.10.0

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Nothing fancy here: we copy in the source code and build on the Alpine Go
66
# image. Refer to .dockerignore to get a sense of what we're not going to copy.
7-
FROM golang:1.22.3-alpine@sha256:df479aa7d1298917c7de7fd56c7231ec450149f1e63d960ea96aebf9ff9240c5 as builder
7+
FROM golang:1.22.3-alpine@sha256:4707c052e5bd90c1c6ae16d1825e3ea5076ec1b06de30e34596b1e6f6b9916cf as builder
88

99
COPY . /src
1010
WORKDIR /src

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/sourcegraph/src-cli
22

33
go 1.22
44

5-
toolchain go1.22.2
5+
toolchain go1.22.5
66

77
require (
88
cloud.google.com/go/storage v1.30.1

0 commit comments

Comments
 (0)