Skip to content

chore(deps): update module github.com/golangci/golangci-lint to v1.58.1 #1656

chore(deps): update module github.com/golangci/golangci-lint to v1.58.1

chore(deps): update module github.com/golangci/golangci-lint to v1.58.1 #1656

Workflow file for this run

name: Ensure generated files are up-to-date
on: [ push, pull_request ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
# perform matrix testing to give us an earlier insight into issues with different versions of supported major versions of Go
matrix:
version:
- "1.20"
- "1.21"
- "1.22"
steps:
- name: Check out source code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.version }}
- name: Run `make generate`
run: make generate
env:
# A combination of our GitHub Actions setup, with the Go toolchain, leads to inconsistencies in calling `go env`, in particular with Go 1.21, where having (the default) `GOTOOLCHAIN=auto` results in build failures
GOTOOLCHAIN: local
- name: Check for no untracked files
run: git status && git diff-index --exit-code -p HEAD --