From f57297c4c24458136f343e809fa2ed2d41dd5051 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Thu, 24 Oct 2019 20:35:19 -0400 Subject: Fix windows build Signed-off-by: Dave Henderson --- .github/workflows/windows.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to '.github') diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 7d706820..74fec1ac 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -12,20 +12,15 @@ jobs: uses: actions/setup-go@v1 with: go-version: 1.13.x - - name: go version - run: go version - uses: actions/checkout@master with: path: ./src/github.com/${{ github.repository }} - - name: build - run: go build -o bin/gomplate.exe github.com/hairyhenderson/gomplate/cmd/gomplate + - run: make build env: GOPATH: ${{ runner.workspace }} - - name: test - run: go test -v ./... & IF ERRORLEVEL == 1 EXIT 1 + - run: make test env: GOPATH: ${{ runner.workspace }} - - name: integration - run: go test -v -tags=integration -ldflags "-X github.com/hairyhenderson/gomplate/tests/integration.GomplateBin=${{ runner.workspace }}/src/github.com/${{ github.repository }}/bin/gomplate.exe" ./tests/integration -check.v + - run: make integration env: GOPATH: ${{ runner.workspace }} -- cgit v1.2.3