File tree 4 files changed +13
-4
lines changed
4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 11
11
- run : |
12
12
docker pull mikefarah/yq
13
13
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
15
15
done
Original file line number Diff line number Diff line change @@ -39,6 +39,15 @@ tasks:
39
39
GLOB : >-
40
40
{{.CLI_ARGS | default "task/scripts/*"}}
41
41
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
+
42
51
default :
43
52
cmds :
44
53
- task --list
Original file line number Diff line number Diff line change 11
11
# ##
12
12
# ## 1. A docker compose service named `phpfpm` can be run and `composer` can be
13
13
# ## 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.
16
17
# ## 3. The Drupal site can be installed from existing config.
17
18
18
19
name : Drupal
Original file line number Diff line number Diff line change @@ -20,5 +20,4 @@ to match the new templates.
20
20
21
21
[ github/workflows/* .yaml] ( github/workflows/*.yaml )
22
22
23
-
24
23
---
You can’t perform that action at this time.
0 commit comments