ci: add generate check #234

Merged
argoyle merged 1 commits from add-generate-check into main 2024-09-17 09:34:22 +00:00
Showing only changes of commit c6748fc1ad - Show all commits
+9
View File
@@ -33,6 +33,15 @@ run-pre-commit:
script:
- pre-commit run --all-files
check:
stage: .pre
image: golang:1.23.1
script:
- go install mvdan.cc/gofumpt@latest
- go install golang.org/x/tools/cmd/goimports@latest
- go generate ./...
- git diff --stat --exit-code
build:
extends: .buildtools
stage: build