From d658c44c76625e6a042359493951697c1479c7b2 Mon Sep 17 00:00:00 2001 From: Reiers Date: Wed, 1 Jul 2026 22:34:07 +0200 Subject: [PATCH] chore(#102): build with Go 1.26.x (toolchain go1.26.4, CI/release 1.26) Green Tea GC default (10-40% GC overhead reduction, biggest on small-object churn = our CBOR/CID hot path), 64-bit heap base address randomization (exploit hardening for a daemon parsing untrusted network input), stack-allocated slice backing stores, and the experimental goroutine-leak profiler available for soak builds. go directive stays 1.25.7 so importers aren't forced; toolchain + CI/release pins move to 1.26.4. Full suite already green on go1.26.0 locally. curio-core go.mod is already 'go 1.26'. --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- go.mod | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf83824..e72d7fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.25.x' + go-version: '1.26.x' cache: true - name: go vet diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b5aa69..372e7b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ permissions: contents: write env: - GO_VERSION: '1.25.7' + GO_VERSION: '1.26.4' jobs: build: diff --git a/go.mod b/go.mod index 40d553c..c0c52e9 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,8 @@ module github.com/Reiers/lantern go 1.25.7 +toolchain go1.26.4 + require ( github.com/consensys/gnark-crypto v0.20.1 github.com/dgraph-io/badger/v4 v4.5.1