Added actionlint
to validate workflows
#173
build.yaml
on: pull_request
Build
6m 59s
actionlint
3s
Annotations
6 errors and 1 warning
actionlint:
.github/workflows/build.yaml#L48
shellcheck reported issue in this script: SC2016:info:1:63: Expressions don't expand in single quotes, use double quotes for that
```
run: ${{ steps.get_actionlint.outputs.executable }} -color -format '{{range $err := .}}::error file={{$err.Filepath}},line={{$err.Line}},col={{$err.Column}}::{{$err.Message}}
```
{{replace $err.Snippet "\\n" "
"}}
```\n{{end}}'
^~~~
```
|
actionlint:
.github/workflows/setup-host/action.yml#L1
"on" section is missing in workflow
```
name: 'Setup Host'
^~~~~
```
|
actionlint:
.github/workflows/setup-host/action.yml#L1
"jobs" section is missing in workflow
```
name: 'Setup Host'
^~~~~
```
|
actionlint:
.github/workflows/setup-host/action.yml#L2
unexpected key "description" for "workflow" section. expected one of "concurrency", "defaults", "env", "jobs", "name", "on", "permissions", "run-name"
```
description: 'Configures the host runner to run the build'
^~~~~~~~~~~~
```
|
actionlint:
.github/workflows/setup-host/action.yml#L4
unexpected key "runs" for "workflow" section. expected one of "concurrency", "defaults", "env", "jobs", "name", "on", "permissions", "run-name"
```
runs:
^~~~~
```
|
actionlint
Process completed with exit code 1.
|
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-java@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|