Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update Dockerfile to use Go 1.23.2 #136

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
golang 1.23.1
golang 1.23.2
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# ChangeLog

## v0.1.21

- Upgrades Dockerfile to use Go 1.23.2 (released Oct 1 2024).
(https://github.com/sourcegraph/scip-go/pull/136)

## v0.1.20

- Fixes a bug which caused test files using the same package name
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
# <other stuff to ignore>
# And use this digest in FROM

ARG base_sha=b46e8734b39f93a584eae135fc545edfdee99f1fb55c077fca908a15eb07010c
ARG base_sha=adee809c2d0009a4199a11a1b2618990b244c6515149fe609e2788ddf164bd10

FROM golang:1.23.1@sha256:${base_sha} as builder
FROM golang:1.23.2@sha256:${base_sha} as builder

COPY . /sources
WORKDIR /sources
RUN go build -o scip-go ./cmd/scip-go

# Keep in sync with builder image
FROM golang:1.23.1@sha256:${base_sha} as final
FROM golang:1.23.2@sha256:${base_sha} as final

COPY --from=builder /sources/scip-go /usr/bin/
CMD ["scip-go"]
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/sourcegraph/scip-go

go 1.23.1
go 1.23.2

require (
github.com/charmbracelet/log v0.4.0
Expand Down
2 changes: 1 addition & 1 deletion internal/loader/stdlib.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// THIS FILE IS GENERATED. SEE ./scripts/gen_std_lib.sh
// Generated by: go version go1.23.1 darwin/arm64
// Generated by: go version go1.23.2 darwin/arm64
package loader

var contained = struct{}{}
Expand Down
Loading