Skip to content
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 .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [main]

env:
GO_VERSION: "1.25"
GO_VERSION: "1.26"

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-e2e-cilium-heavy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:
cancel-in-progress: false

env:
GO_VERSION: "1.25"
GO_VERSION: "1.26"

jobs:
e2e-kind-cilium-heavy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:
cancel-in-progress: false

env:
GO_VERSION: "1.25"
GO_VERSION: "1.26"

jobs:
e2e-kind-smoke:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
type: string

env:
GO_VERSION: "1.25"
GO_VERSION: "1.26"
REGISTRY: ghcr.io
IMAGE_BASE: ghcr.io/syscode-labs

Expand Down
10 changes: 9 additions & 1 deletion .mise.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
[tools]
go = "1.25.8"
go = "1.26.4"
kind = "0.20.0"

# Unset any GOROOT exported by the host shell so mise's managed Go toolchain is
# always used, independent of the host's Go install. A host GOROOT pointing at a
# different Go version than the pinned toolchain causes "compile: version
# mismatch" errors. The Makefile also does `unexport GOROOT` for make-driven
# builds that don't go through mise activation.
[env]
GOROOT = false
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.25 AS builder
FROM golang:1.26 AS builder
ARG TARGETOS
ARG TARGETARCH

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.agent
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM golang:1.25-alpine AS agent-builder
FROM golang:1.26-alpine AS agent-builder
WORKDIR /workspace
COPY go.mod go.sum ./
RUN --mount=type=cache,id=agent-gomod,target=/root/go/pkg/mod go mod download
Expand All @@ -12,7 +12,7 @@ RUN --mount=type=cache,id=agent-gomod,target=/root/go/pkg/mod \
--mount=type=cache,id=agent-gobuild,target=/root/.cache/go-build \
CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -o agent ./cmd/agent

FROM golang:1.25-alpine AS guest-agent-builder
FROM golang:1.26-alpine AS guest-agent-builder
WORKDIR /workspace
COPY go.mod go.sum ./
RUN --mount=type=cache,id=guest-gomod,target=/root/go/pkg/mod go mod download
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.operator
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM golang:1.25-alpine AS builder
FROM golang:1.26-alpine AS builder
WORKDIR /workspace

COPY go.mod go.sum ./
Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ CONTAINER_TOOL ?= docker
SHELL = /usr/bin/env bash -o pipefail
.SHELLFLAGS = -ec

# A stale GOROOT inherited from the host shell (e.g. a Homebrew Go install
# pointing at a different version than the `go` binary on PATH) causes
# "compile: version X does not match go tool version Y". Strip it so every
# recipe uses the go binary's own GOROOT. The toolchain version is pinned
# reproducibly via .mise.toml and go.mod, independent of the host's Go.
unexport GOROOT

.PHONY: all
all: build

Expand Down
6 changes: 4 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/syscode-labs/imp

go 1.25.6
go 1.26.0

toolchain go1.26.4

require (
github.com/firecracker-microvm/firecracker-go-sdk v1.0.0
Expand All @@ -24,6 +26,7 @@ require (
go.opentelemetry.io/otel/metric v1.42.0
go.opentelemetry.io/otel/sdk v1.42.0
go.opentelemetry.io/otel/sdk/metric v1.42.0
go.opentelemetry.io/otel/trace v1.42.0
golang.org/x/oauth2 v0.35.0
google.golang.org/grpc v1.79.2
google.golang.org/protobuf v1.36.11
Expand Down Expand Up @@ -104,7 +107,6 @@ require (
go.mongodb.org/mongo-driver v1.8.3 // indirect
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.42.0 // indirect
go.opentelemetry.io/otel/trace v1.42.0 // indirect
go.opentelemetry.io/proto/otlp v1.9.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
Expand Down
Loading