From 2aae438febb289be380a650910a4484ff83d07b2 Mon Sep 17 00:00:00 2001 From: Jon Ayers Date: Tue, 26 Nov 2024 21:30:16 +0000 Subject: [PATCH] chore: disable parallelization when running security action - `make -j` appears to be broken for clean builds --- .github/workflows/security.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml index a0c23aef21b26..030b1ab6ba5f1 100644 --- a/.github/workflows/security.yaml +++ b/.github/workflows/security.yaml @@ -130,7 +130,9 @@ jobs: # the registry. export CODER_IMAGE_BUILD_BASE_TAG="$(CODER_IMAGE_BASE=coder-base ./scripts/image_tag.sh --version "$version")" - make -j "$image_job" + # We would like to use make -j here, but it doesn't work with the some recent additions + # to our code generation. + make "$image_job" echo "image=$(cat "$image_job")" >> $GITHUB_OUTPUT - name: Run Trivy vulnerability scanner