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 .