From 9a6e1380d1c3fbb5f5bb8491c1af7ab945000ad4 Mon Sep 17 00:00:00 2001 From: saji Date: Wed, 28 Feb 2024 07:24:27 +0000 Subject: [PATCH] add vet and staticcheck to CI --- .github/workflows/go.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 953c726..bfbecad 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 ./...