Skip to content

Bump to go 1.20

Bump to go 1.20 #120

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 ./...