From 61d558de3cbaedff357fd7081076d628411e2924 Mon Sep 17 00:00:00 2001 From: reesporte Date: Thu, 11 Nov 2021 17:40:28 -0600 Subject: [PATCH] update tests, actually install statik smh my head --- .gitlab/.gitlab-ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab/.gitlab-ci.yml b/.gitlab/.gitlab-ci.yml index 462977fa6..0f1f4bc3c 100644 --- a/.gitlab/.gitlab-ci.yml +++ b/.gitlab/.gitlab-ci.yml @@ -68,7 +68,7 @@ run jest tests: run go tests: stage: test - image: golang:1.16.9 + image: golang:1.16.10 extends: .go-cache script: - echo "Running featurebase unit tests..." @@ -79,7 +79,7 @@ run go tests: run go tests with output: stage: test - image: golang:1.16.9 + image: golang:1.16.10 script: - echo "Running featurebase unit tests to capture JSON output..." - go test -json > test-report.out @@ -108,6 +108,7 @@ build for linux amd64: GOARCH: "amd64" script: - go get github.com/rakyll/statik + - go install github.com/rakyll/statik@latest - tar -xvf lattice.tar.gz - /go/bin/statik -src=lattice - make build FLAGS="-o featurebase_linux_amd64" @@ -124,6 +125,7 @@ build for linux arm64: GOARCH: "arm64" script: - go get github.com/rakyll/statik + - go install github.com/rakyll/statik@latest - tar -xvf lattice.tar.gz - /go/bin/statik -src=lattice - make build FLAGS="-o featurebase_linux_arm64" @@ -140,6 +142,7 @@ build for darwin amd64: GOARCH: "amd64" script: - go get github.com/rakyll/statik + - go install github.com/rakyll/statik@latest - tar -xvf lattice.tar.gz - /go/bin/statik -src=lattice - make build FLAGS="-o featurebase_darwin_amd64" @@ -156,6 +159,7 @@ build for darwin arm64: GOARCH: "arm64" script: - go get github.com/rakyll/statik + - go install github.com/rakyll/statik@latest - tar -xvf lattice.tar.gz - /go/bin/statik -src=lattice - make build FLAGS="-o featurebase_darwin_arm64"