ci: update go version in dagger

This commit is contained in:
Slug-Boi
2026-04-28 11:35:09 +02:00
parent 0a55fe0c93
commit 7d59442628
2 changed files with 2 additions and 2 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.24"). From("golang:1.25").
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
@@ -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.24"). From("golang:1.25").
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)