-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
Description
See this failing PR action for an example of the problem. If you run make generate and then run make lint, the linter changes tag order of generated files. This then fails the CI check that tries to make sure there is no diff between cleanly generated files and the linted files committed in the PR.
It stems from the following step:
golangci-lint run --no-config --fix --default=none -E tagalign --timeout 10m
Steps to Reproduce
- Make any code change that will tweak generated API routes or documentation.
- Run
make generateand then stage the changes. - Run
make lintand see newly unstaged changes to those generated files.
Version
n/a
Operating System
MacOS
Database Backend
SQLite
Additional context
No response