From d13225f4d6782d6ef7c45baaeb4649c4470d75f6 Mon Sep 17 00:00:00 2001 From: Hongjian Fan Date: Wed, 24 Jul 2024 16:13:31 -0500 Subject: [PATCH] fix: add make generate to ci/cd flow --- .github/workflows/go.yml | 3 +++ .github/workflows/nodejs.yml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6e0ddae..2bc984d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -15,6 +15,9 @@ jobs: with: go-version: "1.22.1" + - name: Generate support files + run: make generate + - name: Format Golang run: if [ "$(gofmt -l . | wc -l)" -gt 0 ]; then exit 1; fi diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index c38039b..f675473 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -21,6 +21,10 @@ jobs: with: node-version: 20 + - name: Generate support files + working-directory: ./ + run: make generate + - name: Clean Install Node.js run: npm ci