add vet and staticcheck to CI
Some checks failed
Go / build (push) Failing after 1m11s

This commit is contained in:
saji 2024-02-28 07:24:27 +00:00
parent a3f6e36cc4
commit 9a6e1380d1

View file

@ -18,8 +18,14 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Install Staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Build
run: go build -v ./cmd/gotelem
- name: Test
run: go test -v ./...
- name: Vet
run: go vet ./...
- name: Staticcheck
run: staticcheck ./...