actionlint
No long description provided.
Installation
dagger install github.com/typesafe-ai/daggerverse/actionlint@daf7ec9aaa5cd8bd3831ced6251cb00110b543c5Entrypoint
Return Type
Actionlint !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ctr | Container | null | Container with actionlint installed. Defaults to an image built from the official actionlint release binary plus shellcheck. |
| version | String ! | "1.7.12" | actionlint version to install (only used when ctr is not provided). |
Example
dagger -m github.com/typesafe-ai/daggerverse/actionlint@daf7ec9aaa5cd8bd3831ced6251cb00110b543c5 call \
--version stringfunc (m *MyModule) Example(version string) *dagger.Actionlint {
return dag.
Actionlint(version)
}@function
def example(version: str) -> dagger.Actionlint:
return (
dag.actionlint(version)
)@func()
example(version: string): Actionlint {
return dag
.actionlint(version)
}Types
Actionlint 🔗
Lint GitHub Actions workflows with actionlint. Complements security scanners like zizmor: actionlint checks workflow syntax, ``${{ }}`` expression types, runner labels, ``cron``/glob patterns, deprecated commands, and runs shellcheck on ``run:`` scripts.
ctr() 🔗
Container with actionlint (and shellcheck) installed.
Return Type
Container ! Example
dagger -m github.com/typesafe-ai/daggerverse/actionlint@daf7ec9aaa5cd8bd3831ced6251cb00110b543c5 call \
--version string ctrfunc (m *MyModule) Example(version string) *dagger.Container {
return dag.
Actionlint(version).
Ctr()
}@function
def example(version: str) -> dagger.Container:
return (
dag.actionlint(version)
.ctr()
)@func()
example(version: string): Container {
return dag
.actionlint(version)
.ctr()
}lint() 🔗
Run actionlint on GitHub Actions workflow files.
Exits non-zero when problems are found. Runs shellcheck on run:
scripts.
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Directory | - | The `.github` directory containing Actions workflows. |
| extraArgs | [String ! ] | null | Additional arguments to pass to actionlint. |
Example
dagger -m github.com/typesafe-ai/daggerverse/actionlint@daf7ec9aaa5cd8bd3831ced6251cb00110b543c5 call \
--version string lintfunc (m *MyModule) Example(ctx context.Context, version string) {
return dag.
Actionlint(version).
Lint(ctx)
}@function
async def example(version: str) -> None:
return await (
dag.actionlint(version)
.lint()
)@func()
async example(version: string): Promise<void> {
return dag
.actionlint(version)
.lint()
}