File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,15 +12,11 @@ jobs:
1212 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1313 with :
1414 submodules : recursive
15+ - uses : jdx/mise-action@9dc7d5dd454262207dea3ab5a06a3df6afc8ff26 # v3.4.1
1516 - name : " Workaround: Prepare ~/.local/share/chezmoi"
1617 run : |
1718 mkdir -p "$HOME/.local/share"
1819 ln -s "$(pwd)" "$HOME/.local/share/chezmoi"
19- - uses : jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
20- - name : Install goss
21- run : |
22- sudo curl -L https://github.com/goss-org/goss/releases/latest/download/goss-darwin-amd64 -o /usr/local/bin/goss
23- sudo chmod +rx /usr/local/bin/goss
2420 - name : Copy install.sh to outside of the repository
2521 run : |
2622 cp ./install.sh /tmp/install.sh
3026 ./install.sh
3127 # Run script twice to test idempotency
3228 ./install.sh
33- - name : Validate with goss
34- run : |
35- cd "$HOME/.local/share/chezmoi"
36- GOSS_USE_ALPHA=1 goss validate --format documentation
3729
3830 test-static :
3931 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11[tools ]
22deno = " 2.5"
3+
4+ "github:goss-org/goss" = " latest"
Original file line number Diff line number Diff line change 11{{ $refreshPeriod := " 168h" -}}
22
3- {{ $goss := " goss-darwin-arm64" -}}
4-
5- {{ if ne $goss " " -}}
6- [" bin/goss" ]
7- type = " file"
8- url = " https://github.com/goss-org/goss/releases/latest/download/{{ $goss }}"
9- executable = true
10- refreshPeriod = " {{ $refreshPeriod }}"
11- {{ end -}}
12-
133{{ $nvim := " .config/nvim" -}}
144
155[" {{ $nvim }}/pack/vendor/start/copilot.vim" ]
Original file line number Diff line number Diff line change 11#! /bin/sh
22set -eu
33cd " $HOME /.local/share/chezmoi"
4- # Calling with absolute path for the case where $HOME/bin is not set in PATH
5- GOSS_USE_ALPHA=1 " $HOME /bin/goss" validate --format documentation
4+ GOSS_USE_ALPHA=1 mise exec goss -- goss validate --format documentation
You can’t perform that action at this time.
0 commit comments