This commit is contained in:
parent
a3f6e36cc4
commit
9a6e1380d1
6
.github/workflows/go.yml
vendored
6
.github/workflows/go.yml
vendored
|
@ -18,8 +18,14 @@ jobs:
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '1.21'
|
go-version: '1.21'
|
||||||
|
- name: Install Staticcheck
|
||||||
|
run: go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build -v ./cmd/gotelem
|
run: go build -v ./cmd/gotelem
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -v ./...
|
run: go test -v ./...
|
||||||
|
- name: Vet
|
||||||
|
run: go vet ./...
|
||||||
|
- name: Staticcheck
|
||||||
|
run: staticcheck ./...
|
||||||
|
|
Loading…
Reference in a new issue