From d7ac9d765aa947de8cbd76ce5b8c02333bbf92b1 Mon Sep 17 00:00:00 2001 From: Mario Hros <966992+k3a@users.noreply.github.com> Date: Thu, 19 Oct 2023 16:23:06 +0200 Subject: [PATCH] add static check and gofmt --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f01fe7d..eb216bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,6 +13,10 @@ jobs: uses: actions/setup-go@v4 with: go-version-file: go.mod + - name: format check + run: gofmt -s -l . + - name: static check + run: go vet ./... - name: generate test coverage run: go test ./... -coverprofile=./cover.out -covermode=atomic - name: check test coverage