Skip to content

Commit

Permalink
update go version
Browse files Browse the repository at this point in the history
  • Loading branch information
schlapzz committed Dec 30, 2023
1 parent b0a09b8 commit 6058517
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func createGoBase(daggerClient *dagger.Client) *dagger.Container {
goChache := daggerClient.CacheVolume("go-cache")

base := daggerClient.Container(dagger.ContainerOpts{Platform: "linux/amd64"}).
From("golang:1.20").
From("golang:1.21.3").
WithMountedCache("/go/src", goMod).
WithMountedCache("/root/.cache/go-build", goChache)

Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/puzzle/goff

go 1.21

toolchain go1.21.3
go 1.21.3

require (
github.com/pkg/errors v0.9.1
Expand Down

0 comments on commit 6058517

Please sign in to comment.