Dagger
Search

actionlint

This module validates GitHub Actions workflow files for syntax errors,
invalid expressions, and schema violations.

Installation

dagger install github.com/softwaredevelop/daggerverse/actionlint@fdcdd2f195bb63b7c5379bea8d3832d683677b40

Entrypoint

Return Type
Actionlint !
Arguments
NameTypeDefault ValueDescription
imageString -Custom image reference in "repository:tag" format to use as a base container.
Example
dagger -m github.com/softwaredevelop/daggerverse/actionlint@fdcdd2f195bb63b7c5379bea8d3832d683677b40 call \
func (m *MyModule) Example() *dagger.Actionlint  {
	return dag.
			Actionlint()
}
@function
def example() -> dagger.Actionlint:
	return (
		dag.actionlint()
	)
@func()
example(): Actionlint {
	return dag
		.actionlint()
}

Types

Actionlint 🔗

Actionlint provides functions for checking GitHub Actions workflows.

check() 🔗

Check runs actionlint on workflow files. It supports directories mounted at repository root or directly inside .github/workflows.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-

Source directory containing workflows or repository root.

Example
dagger -m github.com/softwaredevelop/daggerverse/actionlint@fdcdd2f195bb63b7c5379bea8d3832d683677b40 call \
 check --source DIR_PATH
func (m *MyModule) Example(source *dagger.Directory) *dagger.Container  {
	return dag.
			Actionlint().
			Check(source)
}
@function
def example(source: dagger.Directory) -> dagger.Container:
	return (
		dag.actionlint()
		.check(source)
	)
@func()
example(source: Directory): Container {
	return dag
		.actionlint()
		.check(source)
}