ci: update go version of ci to 1.24

This commit is contained in:
Slug-Boi
2025-08-18 13:40:37 +02:00
parent 0425795101
commit 4badd8ebae
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ func main() {
// mount the source code directory on the host // mount the source code directory on the host
// at /src in the container // at /src in the container
source := client.Container(). source := client.Container().
From("golang:1.23"). From("golang:1.24").
WithDirectory("/src_d", client.Host().Directory(".", dagger.HostDirectoryOpts{ WithDirectory("/src_d", client.Host().Directory(".", dagger.HostDirectoryOpts{
Exclude: []string{}, Exclude: []string{},
})).WithMountedCache("/src_d/dagger_dep_cache/go_dep", goCache) })).WithMountedCache("/src_d/dagger_dep_cache/go_dep", goCache)
+1 -1
View File
@@ -1,6 +1,6 @@
module ci module ci
go 1.23.2 go 1.24.6
require dagger.io/dagger v0.13.6 require dagger.io/dagger v0.13.6
+2 -2
View File
@@ -24,7 +24,7 @@ func main() {
// mount the source code directory on the host // mount the source code directory on the host
// at /src in the container // at /src in the container
source := client.Container(). source := client.Container().
From("golang:1.23"). From("golang:1.24").
WithDirectory("/src_d", client.Host().Directory(".", dagger.HostDirectoryOpts{ WithDirectory("/src_d", client.Host().Directory(".", dagger.HostDirectoryOpts{
Exclude: []string{"build/"}, Exclude: []string{"build/"},
})).WithMountedCache("/src_d/dagger_dep_cache/go_dep", goCache) })).WithMountedCache("/src_d/dagger_dep_cache/go_dep", goCache)
@@ -41,4 +41,4 @@ func main() {
panic(err) panic(err)
} }
fmt.Println(out) fmt.Println(out)
} }