Skip to content

Commit 099c8c0

Browse files
chore(security): Update go version to 1.22.8 (#1110)
* Update go version to 1.22.8 * Update changelog --------- Co-authored-by: William Bezuidenhout <[email protected]>
1 parent 554b805 commit 099c8c0

File tree

8 files changed

+13
-7
lines changed

8 files changed

+13
-7
lines changed

.github/workflows/go-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
go-test:
1212
strategy:
1313
matrix:
14-
go-version: [1.22.5]
14+
go-version: [1.22.8]
1515
os: [ubuntu-latest, macos-latest, windows-latest]
1616
runs-on: ${{ matrix.os }}
1717
steps:

.github/workflows/go-lint.yml

Lines changed: 1 addition & 1 deletion
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.5
19+
go-version: 1.22.8
2020
- name: Enable pulling Go modules from private sourcegraph/sourcegraph
2121
run: git config --global url."https://${PRIVATE_TOKEN}@github.com/sourcegraph/".insteadOf "https://github.com/sourcegraph/"
2222
- run: ./dev/go-lint.sh

.github/workflows/goreleaser-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: 1.22.5
22+
go-version: 1.22.8
2323
- name: Enable pulling Go modules from private sourcegraph/sourcegraph
2424
run: git config --global url."https://${PRIVATE_TOKEN}@github.com/sourcegraph/".insteadOf "https://github.com/sourcegraph/"
2525
- name: Check GoReleaser config

.github/workflows/goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ jobs:
181181
- name: Set up Go
182182
uses: actions/setup-go@v5
183183
with:
184-
go-version: 1.22.5
184+
go-version: 1.22.8
185185
- name: Enable pulling Go modules from private sourcegraph/sourcegraph
186186
run: git config --global url."https://${PRIVATE_TOKEN}@github.com/sourcegraph/".insteadOf "https://github.com/sourcegraph/"
187187
- run: go test ./...

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
golang 1.22.5
1+
golang 1.22.8
22
shfmt 3.8.0
33
shellcheck 0.10.0

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ All notable changes to `src-cli` are documented in this file.
1111

1212
## Unreleased
1313

14+
## 5.8.0
15+
16+
### Changed
17+
18+
- Update Go to 1.22.8
19+
1420
## 5.5.0
1521

1622
### Added

Dockerfile

Lines changed: 1 addition & 1 deletion
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:4707c052e5bd90c1c6ae16d1825e3ea5076ec1b06de30e34596b1e6f6b9916cf as builder
7+
FROM golang:1.22.8-alpine@sha256:f56a8a4a1aea41bc4694728b69c219af1523aea15690cbbed82dc9bac81e6603 as builder
88

99
COPY . /src
1010
WORKDIR /src

go.mod

Lines changed: 1 addition & 1 deletion
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.5
5+
toolchain go1.22.8
66

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

0 commit comments

Comments
 (0)