Skip to content

Update to go 1.22 an update deps (#37) #127

Update to go 1.22 an update deps (#37)

Update to go 1.22 an update deps (#37) #127

Workflow file for this run

name: Format and Vet
on: [push]
jobs:
lint_format_and_vet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Go format check
run: if [ "$(gofmt -d -l $(find . -type f -name '*.go'| grep -v "/vendor/\|/.git/") | wc -l)" -gt 0 ]; then exit 1; fi
- name: Check go vet
run: go vet ./...