Skip to content

Commit fa5cdd1

Browse files
chore: Bump Go version to 1.24.0 (#146)
1 parent 1b5e8dd commit fa5cdd1

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
golang 1.23.3
1+
golang 1.24.0

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# ChangeLog
22

3+
## Unreleased
4+
5+
- Upgrades Dockerfile to use Go 1.24.0 (released Feb 11 2025).
6+
(https://github.com/sourcegraph/scip-go/pull/146)
7+
38
## v0.1.22
49

510
- Fixes a panic when using a custom GOPACKAGESDRIVER along

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
# <other stuff to ignore>
1616
# And use this digest in FROM
1717

18-
ARG base_sha=73f06be4578c9987ce560087e2e2ea6485fb605e3910542cadd8fa09fc5f3e31
18+
ARG base_sha=2b1cbf278ce05a2a310a3d695ebb176420117a8cfcfcc4e5e68a1bef5f6354da
1919

20-
FROM golang:1.23.3@sha256:${base_sha} as builder
20+
FROM golang:1.24.0@sha256:${base_sha} AS builder
2121

2222
COPY . /sources
2323
WORKDIR /sources
2424
RUN go build -o scip-go ./cmd/scip-go
2525

2626
# Keep in sync with builder image
27-
FROM golang:1.23.3@sha256:${base_sha} as final
27+
FROM golang:1.24.0@sha256:${base_sha} AS final
2828

2929
COPY --from=builder /sources/scip-go /usr/bin/
3030
CMD ["scip-go"]

go.mod

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

3-
go 1.23.3
3+
go 1.24.0
44

55
require (
66
github.com/charmbracelet/log v0.4.0

internal/loader/stdlib.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// THIS FILE IS GENERATED. SEE ./scripts/gen_std_lib.sh
2-
// Generated by: go version go1.23.3 darwin/arm64
2+
// Generated by: go version go1.24.0 darwin/arm64
33
package loader
44

55
var contained = struct{}{}
@@ -55,4 +55,5 @@ var stdPackages = map[string]struct{}{
5555
"unique": contained,
5656
"unsafe": contained,
5757
"vendor": contained,
58+
"weak": contained,
5859
}

0 commit comments

Comments
 (0)