parsing

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	Owner   string
	Name    string
	Version string
}

func Actions

func Actions(file string) []Action

Given the contents of a workflow YAML file, find all uses of a Github Action.

func (Action) Raw

func (a Action) Raw() string

The full `owner/repo@vN` format.

func (Action) Repo

func (a Action) Repo() string

The `owner/repo` format.

Jump to

Keyboard shortcuts

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