diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cafc38e..185a357b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: path: ~/.tools key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('./internal/tools/**') }} - name: Run linters - run: make dependabot-check license-check lint + run: make multimod-verify dependabot-check license-check lint - name: Build run: make build - name: Check clean repository diff --git a/Makefile b/Makefile index cf43947f..4b1b4cf7 100644 --- a/Makefile +++ b/Makefile @@ -170,11 +170,11 @@ check-clean-work-tree: .PHONY: multimod-verify multimod-verify: $(MULTIMOD) @echo "Validating versions.yaml" - multimod verify + $(MULTIMOD) verify .PHONY: multimod-prerelease -multimod-prerelease: $(MULTIMOD) - multimod prerelease -s=true -v ./versions.yaml -m tools +multimod-prerelease: multimod-verify $(MULTIMOD) + $(MULTIMOD) prerelease -s=true -v ./versions.yaml -m tools $(MAKE) tidy COMMIT?=HEAD diff --git a/versions.yaml b/versions.yaml index 0af95833..36797962 100644 --- a/versions.yaml +++ b/versions.yaml @@ -18,6 +18,7 @@ module-sets: modules: - go.opentelemetry.io/build-tools - go.opentelemetry.io/build-tools/checkdoc + - go.opentelemetry.io/build-tools/checkfile - go.opentelemetry.io/build-tools/chloggen - go.opentelemetry.io/build-tools/crosslink - go.opentelemetry.io/build-tools/dbotconf