moby/hack/validate
Bjorn Neergaard a6818fd4cb
hack: introduce validate/no-module
Moby is not a Go module; to prevent anyone from mistakenly trying to
convert it to one before we are ready, introduce a check (usable in CI
and locally) for a go.mod file.

This is preferable to trying to .gitignore the file as we can ensure
that a mistakenly created go.mod is surfaced by Git-based tooling and is
less likely to surprise a contributor.

Signed-off-by: Bjorn Neergaard <bneergaard@mirantis.com>
(cherry picked from commit 25c3421802)
Signed-off-by: Bjorn Neergaard <bneergaard@mirantis.com>
2022-12-13 14:42:07 -07:00
..
.validate hack: no need to git fetch in CI 2019-02-05 02:54:50 +00:00
all validate: address SC2155 (shellcheck) 2022-08-29 19:54:57 +02:00
dco validate: address SC2155 (shellcheck) 2022-08-29 19:54:57 +02:00
default hack/validate: drop changelog-related steps 2022-11-16 13:35:40 -07:00
default-seccomp validate: address SC2155 (shellcheck) 2022-08-29 19:54:57 +02:00
deprecate-integration-cli validate: address SC2155 (shellcheck) 2022-08-29 19:54:57 +02:00
golangci-lint run shfmt 2020-03-03 12:27:49 +09:00
golangci-lint.yml golangci-lint: update to v1.49.0 2022-09-26 11:58:07 +02:00
no-module hack: introduce validate/no-module 2022-12-13 14:42:07 -07:00
pkg-imports validate: address SC2155 (shellcheck) 2022-08-29 19:54:57 +02:00
shfmt Fixup libnetwork lint errors 2021-06-01 23:48:32 +00:00
swagger validate: address SC2155 (shellcheck) 2022-08-29 19:54:57 +02:00
swagger-gen validate: address SC2155 (shellcheck) 2022-08-29 19:54:57 +02:00
toml validate: address SC2155 (shellcheck) 2022-08-29 19:54:57 +02:00
vendor hack/validate/vendor: clean up license validation step 2022-12-13 14:41:27 -07:00
yamllint validate: add yamllint validation 2022-08-29 19:54:54 +02:00
yamllint.yaml validate: yamllint: ignore "truthy value should be one of" warnings 2022-08-29 19:54:52 +02:00