actionlint
This module validates GitHub Actions workflow files for syntax errors,invalid expressions, and schema violations.
Installation
dagger install github.com/softwaredevelop/daggerverse/actionlint@9d303dbd39be7cdb13a52f12a231969b05f95177Entrypoint
Return Type
Actionlint !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| image | String | - | Custom image reference in "repository:tag" format to use as a base container. |
Example
dagger -m github.com/softwaredevelop/daggerverse/actionlint@9d303dbd39be7cdb13a52f12a231969b05f95177 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
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Directory ! | - | Source directory containing workflows or repository root. |
Example
dagger -m github.com/softwaredevelop/daggerverse/actionlint@9d303dbd39be7cdb13a52f12a231969b05f95177 call \
check --source DIR_PATHfunc (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)
}