From cea90d02e03f1a0a90092231b6046891327e014c Mon Sep 17 00:00:00 2001 From: Christof Dorner Date: Wed, 31 May 2023 15:35:10 +0200 Subject: [PATCH] ensure go mod is tidy in CI --- .circleci/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index a6d96d21c..e0eecb500 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -66,6 +66,11 @@ jobs: - image: golang:1.18 steps: - checkout + - run: + name: Ensure go mod is tidy + command: | + go mod tidy + git diff --exit-code go.mod go.sum - run: name: Enforce Go Formatted Code command: | @@ -79,6 +84,7 @@ jobs: fi - run: make install-tools - run: make lint + test: resource_class: large executor: