Skip to content

Commit 9a20c61

Browse files
committed
Cleaned up YAML folding
1 parent 79098b8 commit 9a20c61

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

src/Taskfile.dist.yaml.jinja

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tasks:
88
GIT_CONFIG_GLOBAL: ""
99
GIT_CONFIG_SYSTEM: ""
1010
cmds:
11-
- >
11+
- >-
1212
copier
1313
update
1414
--answers-file
@@ -17,7 +17,7 @@ tasks:
1717
flake:
1818
desc: Update flake.lock
1919
cmds:
20-
- >
20+
- >-
2121
nix
2222
--accept-flake-config
2323
--extra-experimental-features
@@ -34,7 +34,7 @@ tasks:
3434
vars:
3535
CLI_ARGS: ""
3636
{%- endif %}
37-
- >
37+
- >-
3838
trunk
3939
fmt
4040
{{ '{{ .CLI_ARGS }}' }}
@@ -46,7 +46,7 @@ tasks:
4646
vars:
4747
CLI_ARGS: ""
4848
{%- endif %}
49-
- >
49+
- >-
5050
trunk
5151
check
5252
{{ '{{ .CLI_ARGS }}' }}
@@ -64,7 +64,7 @@ tasks:
6464
generates:
6565
- node_modules/**/*
6666
cmds:
67-
- >
67+
- >-
6868
npm
6969
install
7070
{{ '{{ .CLI_ARGS }}' }}
@@ -75,7 +75,7 @@ tasks:
7575
cmds:
7676
- task: install-docs
7777
vars:
78-
CLI_ARGS: >
78+
CLI_ARGS: >-
7979
--prefer-offline
8080
--no-audit
8181
--no-fund
@@ -85,7 +85,7 @@ tasks:
8585
desc: Update docs package-lock.json
8686
dir: docs/
8787
cmds:
88-
- >
88+
- >-
8989
npm
9090
update
9191
{{ '{{ .CLI_ARGS }}' }}
@@ -97,7 +97,7 @@ tasks:
9797
- task: install-docs-internal
9898
vars:
9999
CLI_ARGS: ""
100-
- >
100+
- >-
101101
npm
102102
exec
103103
--

src/{% if true %}.github{% endif %}/workflows/lint.yaml.jinja

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
# We need to fetch upstream so Trunk can compare against it
3333
- name: Fetch upstream
3434
if: github.event_name == 'pull_request'
35-
run: >
35+
run: >-
3636
git
3737
fetch
3838
origin
@@ -63,7 +63,7 @@ jobs:
6363
# See: https://github.com/cachix/install-nix-action/issues/56
6464
- name: Import Nix store cache
6565
if: steps.cache-nix.outputs.cache-hit == 'true'
66-
run: >
66+
run: >-
6767
nix-store
6868
--import
6969
< {{ '${{ env.NIX_CACHE_DIR }}/archive.nar' }}
@@ -72,7 +72,7 @@ jobs:
7272
if: github.event_name == 'pull_request'
7373
env:
7474
TRUNK_CACHE: {{ '${{ env.TRUNK_CACHE_DIR }}' }}
75-
run: >
75+
run: >-
7676
nix
7777
develop
7878
./#lint
@@ -89,7 +89,7 @@ jobs:
8989
if: github.event_name != 'pull_request'
9090
env:
9191
TRUNK_CACHE: {{ '${{ env.TRUNK_CACHE_DIR }}' }}
92-
run: >
92+
run: >-
9393
nix
9494
develop
9595
./#lint
@@ -102,7 +102,7 @@ jobs:
102102
# See: https://github.com/cachix/install-nix-action/issues/56
103103
- name: Export Nix store cache
104104
if: "!cancelled()"
105-
run: >
105+
run: >-
106106
mkdir
107107
--parents
108108
{{ '${{ env.NIX_CACHE_DIR }}' }}

src/{% if true %}.github{% endif %}/workflows/{% if docs %}docs.yaml{% endif %}

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ jobs:
5858
# See: https://github.com/cachix/install-nix-action/issues/56
5959
- name: Import Nix store cache
6060
if: steps.cache-nix.outputs.cache-hit == 'true'
61-
run: >
61+
run: >-
6262
nix-store
6363
--import
6464
< ${{ env.NIX_CACHE_DIR }}/archive.nar
6565
- name: Build docs
66-
run: >
66+
run: >-
6767
nix
6868
develop
6969
./#docs
@@ -84,7 +84,7 @@ jobs:
8484
# See: https://github.com/cachix/install-nix-action/issues/56
8585
- name: Export Nix store cache
8686
if: "!cancelled()"
87-
run: >
87+
run: >-
8888
mkdir
8989
--parents
9090
${{ env.NIX_CACHE_DIR }}

0 commit comments

Comments
 (0)