Skip to content

Commit

Permalink
Add more sanity checks for testing GitHub action
Browse files Browse the repository at this point in the history
Add ineffassign

Add golint

Add misspell

Add staticcheck

Add go vet
  • Loading branch information
HeavyWombat committed Feb 7, 2021
1 parent 2da738f commit 66905ea
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
branches: [ main ]

jobs:

build:
name: Build
runs-on: ubuntu-latest
Expand All @@ -27,6 +26,19 @@ jobs:
- name: Test
run: |
go get github.com/onsi/ginkgo/ginkgo
go get github.com/onsi/gomega/...
go vet ./...
go get github.com/gordonklaus/ineffassign
ineffassign ./...
go get golang.org/x/lint/golint
golint ./...
go get github.com/client9/misspell/cmd/misspell
find . -type f | xargs misspell -source=text -error
go get honnef.co/go/tools/cmd/staticcheck
staticcheck ./...
go get github.com/onsi/ginkgo/ginkgo github.com/onsi/gomega/...
ginkgo -r -randomizeAllSpecs -randomizeSuites -failOnPending -nodes=1 -compilers=1 -race -trace -cover

0 comments on commit 66905ea

Please sign in to comment.