From 45d9274aca31860e6da8cac0e300590f683e29eb Mon Sep 17 00:00:00 2001 From: Jon Ayers Date: Tue, 26 Nov 2024 23:35:51 +0200 Subject: [PATCH] chore: disable parallelization when running security action (#15666) - `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 a0c23aef21..030b1ab6ba 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