From 9536b306c6889dffb4dabb8df4cbda6608ec3ec2 Mon Sep 17 00:00:00 2001 From: Evan Date: Thu, 18 Jan 2024 09:45:03 -0500 Subject: [PATCH] Include full test suite --- .gitea/workflows/test.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index eddaad1..ed4d4cb 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -4,7 +4,7 @@ on: push jobs: - Explore-Gitea-Actions: + test release-action: runs-on: ubuntu-latest steps: - name: Checkout @@ -17,6 +17,20 @@ jobs: run: go install golang.org/x/lint/golint@latest && golint ./... - name: vet run: go vet + - name: gofmt + run: gofmt -s -e -d . + - name: gocyclo + run: | + go install github.com/fzipp/gocyclo/cmd/gocyclo@latest + gocyclo -over 15 -avg . + - name: ineffassign + run: | + go install github.com/gordonklaus/ineffassign@latest + ineffassign . + - name: misspell + run: | + go install github.com/client9/misspell/cmd/misspell@latest + misspell -locale US . - name: Go Build Linux x64 run: | GOOS=linux GOARCH=amd64 \