Skip to content

Commit db1e124

Browse files
chore(deps): update dependency swaggo/swag to v1.8.4 (#272)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 930ee08 commit db1e124

File tree

13 files changed

+616
-607
lines changed

13 files changed

+616
-607
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,11 @@ to enable better overview over changes and enables automated tooling based on co
2626
## Tests & test coverage
2727

2828
The test coverage goal is > 95%. Please try to add tests for everything you add to the codebase. If in doubt, you’re always welcome to open an issue and ask for help.
29+
30+
## Common errors
31+
32+
### pre-commit fails in GitHub action
33+
34+
If pre-commit runs successfully on your local machine, but errors in the GitHub action, it's likely that the `swaggo/swag/cmd` module has been updated, but you still have the old version locally.
35+
36+
Run `make setup` again to update and then `pre-commit run --all-files` to fix your commit.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
setup-pre-commit-ci:
33
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
44
# renovate: datasource=github-releases depName=swaggo/swag
5-
go install github.com/swaggo/swag/cmd/[email protected].1
5+
go install github.com/swaggo/swag/cmd/[email protected].4
66

77
.PHONY: setup
88
setup: setup-pre-commit-ci

0 commit comments

Comments
 (0)