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`.
This commit is contained in:
google-labs-jules[bot] 2025-10-30 17:47:40 +00:00
parent 8f469a4a31
commit f59b6563ee
3 changed files with 12 additions and 4 deletions

View file

@ -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 ./...

6
go.mod
View file

@ -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

3
go.work Normal file
View file

@ -0,0 +1,3 @@
go 1.25
use .