name: lint
on: [push]
jobs:
  golangci:
    name: lint
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-go@v3
        with:
          go-version: 1.19
          check-latest: true
      - uses: golangci/golangci-lint-action@v3
        with:
          version: v1.49.0
      - name: Run go vet
        run: |
          go vet ./...
