From 09eab567d621a4254c0ed593b9d18d0b46109bdb Mon Sep 17 00:00:00 2001 From: Miguel Martinez Trivino Date: Tue, 23 May 2023 11:41:12 +0200 Subject: [PATCH 1/3] chore(ci): check go mod tidiness Signed-off-by: Miguel Martinez Trivino --- .github/workflows/test.yml | 5 +++++ go.mod | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7bc074785..4e1d7c125 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,6 +28,11 @@ jobs: cache: true cache-dependency-path: go.sum + - name: tidy check + run: | + go mod tidy + git diff --exit-code -- go.mod go.sum + # Check that the generated ent code is up to date # see https://entgo.io/docs/ci/ - uses: ent/contrib/ci@master diff --git a/go.mod b/go.mod index 128f48c18..a2476b8a6 100644 --- a/go.mod +++ b/go.mod @@ -48,7 +48,7 @@ require ( github.com/spf13/cobra v1.7.0 github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.15.0 - github.com/stretchr/testify v1.8.2 + github.com/stretchr/testify v1.8.3 github.com/testcontainers/testcontainers-go v0.18.0 go.uber.org/automaxprocs v1.5.1 go.uber.org/zap v1.24.0 From 8c75d5d7c68f3581c7e2e801a15dacaf60134c2a Mon Sep 17 00:00:00 2001 From: Miguel Martinez Trivino Date: Tue, 23 May 2023 11:44:07 +0200 Subject: [PATCH 2/3] remove change Signed-off-by: Miguel Martinez Trivino --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index a2476b8a6..128f48c18 100644 --- a/go.mod +++ b/go.mod @@ -48,7 +48,7 @@ require ( github.com/spf13/cobra v1.7.0 github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.15.0 - github.com/stretchr/testify v1.8.3 + github.com/stretchr/testify v1.8.2 github.com/testcontainers/testcontainers-go v0.18.0 go.uber.org/automaxprocs v1.5.1 go.uber.org/zap v1.24.0 From a6fffbb41ff03afeb25a90c34dff2dc77dd15d85 Mon Sep 17 00:00:00 2001 From: Miguel Martinez Trivino Date: Tue, 23 May 2023 11:45:27 +0200 Subject: [PATCH 3/3] remove change Signed-off-by: Miguel Martinez Trivino --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4e1d7c125..1e77e50ac 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,7 @@ jobs: cache: true cache-dependency-path: go.sum - - name: tidy check + - name: Go Module tidy check run: | go mod tidy git diff --exit-code -- go.mod go.sum