From 014528c837a467708465912d28a9433f1a65dee8 Mon Sep 17 00:00:00 2001 From: nyagamunene Date: Tue, 9 Apr 2024 10:19:28 +0300 Subject: [PATCH] Updated the yml file Signed-off-by: nyagamunene --- .github/workflows/check-generated-files.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-generated-files.yml b/.github/workflows/check-generated-files.yml index 308a5a6fb4f..35bcbc02dd3 100644 --- a/.github/workflows/check-generated-files.yml +++ b/.github/workflows/check-generated-files.yml @@ -23,7 +23,7 @@ jobs: with: go-version: 1.21.x cache-dependency-path: "go.sum" - + - name: Check for changes in go.mod run: | go mod tidy @@ -60,6 +60,7 @@ jobs: - "pkg/groups/groups.go" - "bootstrap/service.go" - "bootstrap/configs.go" + - "invitations/invitations.go" - name: Set up protoc if: steps.changes.outputs.proto == 'true' @@ -125,6 +126,8 @@ jobs: mv ./pkg/groups/mocks/service.go ./pkg/groups/mocks/service.go.tmp mv ./bootstrap/mocks/service.go ./bootstrap/mocks/service.go.tmp mv ./bootstrap/mocks/configs.go ./bootstrap/mocks/configs.go.tmp + mv ./invitations/mocks/service.go ./invitations/mocks/service.go.tmp + mv ./invitations/mocks/invitations.go ./invitations/mocks/invitations.go.tmp make mocks @@ -159,3 +162,5 @@ jobs: check_mock_changes ./pkg/groups/mocks/service.go "Groups Service ./pkg/groups/mocks/service.go" check_mock_changes ./bootstrap/mocks/service.go "Bootstrap Service ./bootstrap/mocks/service.go" check_mock_changes ./bootstrap/mocks/configs.go "Bootstrap Repository ./bootstrap/mocks/configs.go" + check_mock_changes ./invitations/mocks/service.go "Invitations Service ./invitations/mocks/service.go" + check_mock_changes ./invitations/mocks/invitations.go "Invitations Repository ./invitations/mocks/invitations.go"