From 4f80c4c1a53635347e650f2350b08e658f7820ea Mon Sep 17 00:00:00 2001 From: Oleg Kovalov Date: Thu, 29 Feb 2024 18:07:05 +0100 Subject: [PATCH] Update build.yml Signed-off-by: Oleg Kovalov --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6d81c17..04e7b8f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,19 +67,19 @@ jobs: run: go generate ./... && git diff --exit-code - name: Go Build - run: go build -o /dev/null -tags ${{ inputs.buildTags }} ./... + run: go build -o=/dev/null -tags=${{ inputs.buildTags }} ./... - name: Go Compile Tests if: ${{ inputs.skipTests }} - run: go test -exec /bin/true -tags ${{ inputs.buildTags }} ./... + run: go test -exec=/bin/true -tags=${{ inputs.buildTags }} ./... - name: Go Test if: ${{ !inputs.skipTests }} - run: go test -v -count=1 -race -shuffle=on -tags ${{ inputs.buildTags }} -coverprofile=coverage.txt ./... + run: go test -v -shuffle=on -tags=${{ inputs.buildTags }} -race -count=1 -coverprofile=coverage.txt ./... - name: Go Benchmark if: ${{ !inputs.skipTests }} - run: go test -v -shuffle=on -tags ${{ inputs.buildTags }} -run=- -bench=. -benchtime=1x ./... + run: go test -v -shuffle=on -tags=${{ inputs.buildTags }} -run=- -bench=. -benchtime=1x ./... - name: Upload Coverage if: ${{ !inputs.skipTests }}