Skip to content

Commit 067dedb

Browse files
committed
Fix: Use stable Go toolchain settings
- Set Go version to 1.21 (stable) - Added GOTOOLCHAIN=local to prevent toolchain switching - Added GO111MODULE=on for explicit module mode - Updated go.mod to use Go 1.21
1 parent 55e8ee4 commit 067dedb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Set up Go
4343
uses: actions/setup-go@v5
4444
with:
45-
go-version: '1.23'
45+
go-version: '1.21'
4646

4747
- name: Get version
4848
id: version
@@ -63,6 +63,8 @@ jobs:
6363
GOOS: ${{ matrix.goos }}
6464
GOARCH: ${{ matrix.goarch }}
6565
CGO_ENABLED: 0
66+
GOTOOLCHAIN: local
67+
GO111MODULE: on
6668
run: |
6769
go build -v -o goq${{ matrix.ext }} .
6870

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module goqueue
22

3-
go 1.24.7
3+
go 1.23.0
4+
5+
toolchain go1.24.7
46

57
require (
68
github.com/aquasecurity/table v1.11.0

0 commit comments

Comments
 (0)