name: Linter on: [push, pull_request] jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Setup Go uses: actions/setup-go@v3 with: check-latest: true go-version: '1.18' - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: version: v1.46.2