INNER CODE UNIT · Go

func

iximiuz/cdebug · ci/main.go:27

func (m *Ci) Build(ctx context.Context, src *dagger.Directory) *dagger.File {
	return dag.Go().FromVersion("1.25").Build(src, dagger.GoBuildOpts{
		Static: true,
	}).File("cdebug")
}

func (m *Ci) TestExec(ctx context.Context, src *dagger.Directory) error {
	var g errgroup.Group

	g.Go(func() error {
		ct, err := m.TestDockerExec(ctx, src)
		if err != nil {
			return err
		}
		_, err = ct.Stdout(ctx)
		return err
	})
	g.Go(func() error {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…