From 1eb246bd2e0bbf6818ba05b990740d88fe6afd3d Mon Sep 17 00:00:00 2001 From: Heathcliff Date: Mon, 16 Dec 2024 19:14:03 +0100 Subject: [PATCH] CI: Add validate step to ci job Ensure code is always properly formatted by adding the validate step. Signed-off-by: Heathcliff --- .github/workflows/ci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 664385e5..88310494 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -39,6 +39,12 @@ jobs: unit-tests: uses: heathcliff26/ci/.github/workflows/golang-unit-tests.yaml@main + validate: + uses: heathcliff26/ci/.github/workflows/golang-build.yaml@main + with: + cache: false + cmd: "make validate" + build: uses: heathcliff26/ci/.github/workflows/build-container.yaml@main needs: