github+Makefile: add new action make tidy-module-check

This commit adds `tidy-module` and `tidy-module-check` to make sure the
modules are always tidy.
This commit is contained in:
yyforyongyu
2023-09-06 02:17:00 +08:00
parent 8813bc7ba8
commit c568ba9fa2
3 changed files with 27 additions and 0 deletions

View File

@@ -131,6 +131,9 @@ jobs:
- name: check code format
run: make fmt-check
- name: check go modules tidiness
run: make tidy-module-check
- name: lint
run: GOGC=50 make lint