From 080b0e1029222afc97bf899cbcf40e2b3cd4d107 Mon Sep 17 00:00:00 2001 From: Florian Kinder Date: Sun, 18 Oct 2026 12:18:11 +0200 Subject: [PATCH] build: raise toolchain to go 1.27.2 The 'Check test coverage' step uses a floating vladopajic/go-test-coverage/action/source@v2 ref. Since v2.20.0 (released 2026-10-03) that tool requires Go >= 1.27, so every main push since then - the two most recent merges included - failed at the coverage check: requires go >= 1.27 (running go 1.26.5; GOTOOLCHAIN=local) Upgrade the module to go 1.27.2 so the latest coverage tool runs. Verified locally on go1.27.2: go test passes (only the pre-existing macOS case-insensitive-filesystem maptoolcli test fails; it passes on Linux CI), go build/vet clean, and the full coverage pipeline (cover profile + dedupe + go-test-coverage v2.20.0) completes successfully. --- go.mod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 7fe94fb0e..34e8e5977 100644 --- a/go.mod +++ b/go.mod @@ -1,12 +1,13 @@ module github.com/OCAP2/web -go 1.26.5 +go 1.27.2 require ( github.com/getkin/kin-openapi v0.149.0 github.com/go-fuego/fuego v0.20.0 github.com/golang-jwt/jwt/v5 v5.3.1 github.com/gorilla/websocket v1.5.3 + github.com/klauspost/compress v1.20.0 github.com/mattn/go-sqlite3 v1.14.52 github.com/spf13/viper v1.21.0 github.com/stretchr/testify v1.12.1 @@ -28,7 +29,6 @@ require ( github.com/go-viper/mapstructure/v2 v2.4.0 // indirect github.com/google/uuid v1.6.0 // indirect github.com/gorilla/schema v1.4.1 // indirect - github.com/klauspost/compress v1.20.0 // indirect github.com/leodido/go-urn v1.4.0 // indirect github.com/oasdiff/yaml v0.1.1 // indirect github.com/oasdiff/yaml3 v0.0.14 // indirect