setup

package
v0.231.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InferActionVersion          = "v0.49.2"
	CheckoutActionVersion       = "v7.0.1"
	AppTokenActionVersion       = "v3.2.0"
	UploadArtifactActionVersion = "v7.0.1"
	DefaultWorkflowModel        = "ollama_cloud/deepseek-v4-flash:preview"
)

Version pins and defaults for generated GitHub workflows, consumed by the scheduler's githubscheduler store and rendered workflow.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandRunner

type CommandRunner interface {
	Run(ctx context.Context, name string, args ...string) ([]byte, error)
}

CommandRunner is an injectable interface for running subprocesses. Tests supply a fake runner so no real gh/git calls are needed.

type RealRunner

type RealRunner struct{}

RealRunner shells out using exec.CommandContext.

func (*RealRunner) Run

func (r *RealRunner) Run(ctx context.Context, name string, args ...string) ([]byte, error)

Run returns stdout on success and stderr on failure, so callers that embed the bytes in an error surface the real git/gh diagnostic.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL