From 26101de8b8dac57a97e256d4c041b235e733068d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thor=20Anker=20Kvisg=C3=A5rd=20Lange?= Date: Wed, 27 Nov 2024 12:45:05 +0100 Subject: [PATCH] feat: Build before test In principle I guess you test that stuff builds before you do the testing or (although not necessary with go) you would build your stuff before testing it. --- .github/workflows/go-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go-ci.yml b/.github/workflows/go-ci.yml index c430fcc..0006848 100644 --- a/.github/workflows/go-ci.yml +++ b/.github/workflows/go-ci.yml @@ -61,12 +61,12 @@ jobs: with: version: latest + - name: Build + run: go build ${{ inputs.go-build-args }} + - name: Run tests run: go test ${{ inputs.go-test-args }} - name: Run benchmarks if: inputs.run-benchmarks run: go test ${{ inputs.go-bench-args }} - - - name: Build - run: go build ${{ inputs.go-build-args }}