Skip to content

Bump to Go 1.22, and bump Go packages #204

Bump to Go 1.22, and bump Go packages

Bump to Go 1.22, and bump Go packages #204

Workflow file for this run

name: Linting
on: { push: { branches-ignore: [main, production] } }
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
linting:
name: 🤓 Lint the code
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with: { go-version-file: go.mod }
- name: Check formatting using gofmt
run: gofmt -s -l -d
- name: Check for suspicious constructs using "go vet"
run: go vet ./...
- name: Run golangci-lint
uses: reviewdog/action-golangci-lint@v2
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
reporter: github-check