From f59b6563eeb03d8e6646fe5070108dfb0b7f5449 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 30 Oct 2025 17:47:40 +0000 Subject: [PATCH] feat: Update Go version and workflow This commit updates the Go version to 1.25 in the `go.mod` and `go.work` files. It also updates the GitHub Actions workflow to use the `go.work` file to determine the Go version and adds a step to set up `task`. --- .github/workflows/go.yml | 7 +++++-- go.mod | 6 ++++-- go.work | 3 +++ 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 go.work diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b1fe917..d0e905b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -13,9 +13,12 @@ jobs: - uses: actions/checkout@v3 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: - go-version: 1.22 + go-version-file: 'go.work' + + - name: Setup Task + uses: arduino/setup-task@v1 - name: Build run: go build -v ./... diff --git a/go.mod b/go.mod index 7266149..467cf31 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,10 @@ module github.com/Snider/Enchantrix -go 1.22 +go 1.25 -require github.com/stretchr/testify v1.11.1 +require ( + github.com/stretchr/testify v1.11.1 +) require ( github.com/davecgh/go-spew v1.1.1 // indirect diff --git a/go.work b/go.work new file mode 100644 index 0000000..4cb5c34 --- /dev/null +++ b/go.work @@ -0,0 +1,3 @@ +go 1.25 + +use .