File tree Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1111 - run : |
1212 docker pull mikefarah/yq
1313 for f in $(find github/workflows/ -name '*.yaml'); do
14- docker run --rm --volume "$PWD":/workdir mikefarah/yq "$f"
14+ docker run --rm --volume "$PWD":/workdir mikefarah/yq "$f" > /dev/null
1515 done
Original file line number Diff line number Diff line change @@ -39,6 +39,15 @@ tasks:
3939 GLOB : >-
4040 {{.CLI_ARGS | default "task/scripts/*"}}
4141
42+ lint:yaml :
43+ desc : " Lint YAML"
44+ cmds :
45+ - |
46+ # docker pull mikefarah/yq
47+ for f in $(find github/workflows/ -name '*.yaml'); do
48+ docker run --rm --volume "$PWD":/workdir mikefarah/yq "$f" > /dev/null
49+ done
50+
4251 default :
4352 cmds :
4453 - task --list
Original file line number Diff line number Diff line change 1111# ##
1212# ## 1. A docker compose service named `phpfpm` can be run and `composer` can be
1313# ## run inside the `phpfpm` service.
14- # ## 2. The docker setup contains a database container and other the dependent services and the
15- default settings match connection credentials for these services.
14+ # ## 2. The docker setup contains a database container and other the dependent
15+ # ## services and the default settings match connection credentials for these
16+ # ## services.
1617# ## 3. The Drupal site can be installed from existing config.
1718
1819name : Drupal
Original file line number Diff line number Diff line change @@ -20,5 +20,4 @@ to match the new templates.
2020
2121[ github/workflows/* .yaml] ( github/workflows/*.yaml )
2222
23-
2423---
You can’t perform that action at this time.
0 commit comments