Skip to content

Commit f23708d

Browse files
committed
Cleaned up
1 parent 2281239 commit f23708d

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

.github/workflows/workflow-template.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ jobs:
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

Taskfile.yml

+9
Original file line numberDiff line numberDiff 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

github/workflows/drupal/site.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
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

1819
name: Drupal

task/docs/github-actions-templates.md

-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ to match the new templates.
2020

2121
[github/workflows/*.yaml](github/workflows/*.yaml)
2222

23-
2423
---

0 commit comments

Comments
 (0)