16 lines
272 B
Go
16 lines
272 B
Go
package workflow
|
|
|
|
type Workflow struct {
|
|
Name string `yaml:"name"`
|
|
Disabled bool `yaml:"disabled"`
|
|
When string `yaml:"when"`
|
|
Jobs Jobs `yaml:"jobs"`
|
|
}
|
|
|
|
type Jobs map[string]Job
|
|
|
|
type Step struct {
|
|
Name string `yaml:"name"`
|
|
Run string `yaml:"run"`
|
|
}
|