File tree Expand file tree Collapse file tree 3 files changed +16
-16
lines changed
{% if true %}.github{% endif %}/workflows Expand file tree Collapse file tree 3 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 88 GIT_CONFIG_GLOBAL: ""
99 GIT_CONFIG_SYSTEM: ""
1010 cmds:
11- - >
11+ - >-
1212 copier
1313 update
1414 --answers-file
1717 flake:
1818 desc: Update flake.lock
1919 cmds:
20- - >
20+ - >-
2121 nix
2222 --accept-flake-config
2323 --extra-experimental-features
3434 vars:
3535 CLI_ARGS: ""
3636 {% - endif %}
37- - >
37+ - >-
3838 trunk
3939 fmt
4040 {{ '{{ .CLI_ARGS }}' }}
4646 vars:
4747 CLI_ARGS: ""
4848 {% - endif %}
49- - >
49+ - >-
5050 trunk
5151 check
5252 {{ '{{ .CLI_ARGS }}' }}
6464 generates:
6565 - node_modules/**/*
6666 cmds:
67- - >
67+ - >-
6868 npm
6969 install
7070 {{ '{{ .CLI_ARGS }}' }}
7575 cmds:
7676 - task: install-docs
7777 vars:
78- CLI_ARGS: >
78+ CLI_ARGS: >-
7979 --prefer-offline
8080 --no-audit
8181 --no-fund
8585 desc: Update docs package-lock.json
8686 dir: docs/
8787 cmds:
88- - >
88+ - >-
8989 npm
9090 update
9191 {{ '{{ .CLI_ARGS }}' }}
9797 - task: install-docs-internal
9898 vars:
9999 CLI_ARGS: ""
100- - >
100+ - >-
101101 npm
102102 exec
103103 --
Original file line number Diff line number Diff line change 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
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' }}
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
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 }}' }}
Original file line number Diff line number Diff 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
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 }}
You can’t perform that action at this time.
0 commit comments