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