mirror of
https://github.com/Slug-Boi/cocommit.git
synced 2026-05-13 12:45:47 +00:00
ci: update go version in dagger
This commit is contained in:
@@ -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
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user