githubActions

package
v0.0.0-...-c33ea8f Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Prepare

func Prepare(filename string) (runner.Run, error)

Types

type Job

type Job struct {
	Name      string `yaml:"name"`
	RunsOn    string `yaml:"runs-on"`
	Container string `yaml:"container"`
	Steps     []Step `yaml:"steps"`
}

each job in the workflow

type Step

type Step struct {
	Name string `yaml:"name"`
	Run  string `yaml:"run"`
	Uses string `yaml:"uses"`
}

each step in a job

type Workflow

type Workflow struct {
	Name string         `yaml:"name"`
	On   string         `yaml:"on"`
	Jobs map[string]Job `yaml:"jobs"`
}

the entire workflow

func (Workflow) MakeRun

func (w Workflow) MakeRun() (runner.Run, error)

Jump to

Keyboard shortcuts

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