@@ -340,74 +340,14 @@ jobs:
340340 if : runner.os == 'Windows'
341341 uses : ./.github/actions/setup-imdisk
342342
343- - name : Download Go Build Cache
344- id : download-go-build-cache
345- uses : ./.github/actions/test-cache/download
343+ - name : Wush
346344 if : runner.os == 'Windows'
347- with :
348- key-prefix : test-go-build-11-${{ runner.os }}-${{ runner.arch }}
349- cache-path : " /r/.cache/go-cache"
350-
351- - name : Setup Go
352- uses : ./.github/actions/setup-go
353- with :
354- build-cache-path : /r/.cache/go-cache
355- cache : false
356-
357- - name : Normalize File and Directory Timestamps
358345 shell : bash
359346 run : |
360- find . -type f ! -path ./.git/\*\* | mtimehash
361- find . -type d ! -path ./.git/\*\* -exec touch -t 200601010000 {} +
362-
363- - name : Setup Terraform
364- uses : ./.github/actions/setup-tf
365-
366- - name : Download Test Cache
367- id : download-cache
368- uses : ./.github/actions/test-cache/download
369- with :
370- key-prefix : test-go-${{ runner.os }}-${{ runner.arch }}
371-
372- # - name: Test with Mock Database
373- # id: test
374- # shell: bash
375- # run: |
376- # # if macOS, install google-chrome for scaletests. As another concern,
377- # # should we really have this kind of external dependency requirement
378- # # on standard CI?
379- # if [ "${{ matrix.os }}" == "macos-latest" ]; then
380- # brew install google-chrome
381- # fi
382-
383- # # By default Go will use the number of logical CPUs, which
384- # # is a fine default.
385- # PARALLEL_FLAG=""
386-
387- # # macOS will output "The default interactive shell is now zsh"
388- # # intermittently in CI...
389- # if [ "${{ matrix.os }}" == "macos-latest" ]; then
390- # touch ~/.bash_profile && echo "export BASH_SILENCE_DEPRECATION_WARNING=1" >> ~/.bash_profile
391- # fi
392- # export TS_DEBUG_DISCO=true
393- # export GOCACHE=/r/.cache/go-cache/build
394- # export GOMODCACHE=/r/.cache/go-cache/mod
395- # echo "PATH: $PATH"
396- # gotestsum --junitfile="gotests.xml" --jsonfile="gotests.json" \
397- # --packages="./..." -- $PARALLEL_FLAG -short -failfast
398-
399- - name : Upload Test Cache
400- uses : ./.github/actions/test-cache/upload
401- with :
402- cache-key : ${{ steps.download-cache.outputs.cache-key }}
403-
404- - name : Upload Go Build Cache
405- if : runner.os == 'Windows'
406- uses : ./.github/actions/test-cache/upload
407- with :
408- cache-key : ${{ steps.download-go-build-cache.outputs.cache-key }}-${{ github.run_id }}-${{ github.run_attempt }}
409- cache-path : " /r/.cache/go-cache"
410- override-condition : " true"
347+ curl -L -o wush.zip https://github.com/coder/wush/releases/download/v0.4.1/wush_0.4.1_windows_amd64.zip
348+ unzip wush.zip
349+ chmod +x wush.exe
350+ ./wush.exe serve
411351
412352 # We don't run the full test-suite for Windows & MacOS, so we just run the CLI tests on every PR.
413353 # We run the test suite in test-go-pg, including CLI.
0 commit comments