From 0d84bedc7a8f068a6355bd1b0dc53e578172b51e Mon Sep 17 00:00:00 2001 From: Franz Kafka Date: Sun, 22 Mar 2026 02:19:12 +0000 Subject: [PATCH] fix: correct go.mod to 1.24 (go 1.25 does not exist) Also use go-version-file in CI so go.mod and workflow stay in sync. --- .forgejo/workflows/test.yml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 6b09ea7..bd05693 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: https://github.com/actions/setup-go@v5 with: - go-version: '1.24' + go-version-file: go.mod - name: Test run: go test -race -v ./... diff --git a/go.mod b/go.mod index f153b2d..d872485 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/metamorphosis-dev/kafka -go 1.25.0 +go 1.24 require ( github.com/BurntSushi/toml v1.5.0