Skip to content

Add appropriate user-agent string to requests #21

Add appropriate user-agent string to requests

Add appropriate user-agent string to requests #21

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