diff --git a/.github/workflows/pants.yaml b/.github/workflows/pants.yaml index e17ab00..ca0610c 100644 --- a/.github/workflows/pants.yaml +++ b/.github/workflows/pants.yaml @@ -57,7 +57,9 @@ jobs: - name: Lint and compile # Exit code was 32 and last log line was: CodeQL detected code written in Go but this run didn't build any of it, or CodeQL could not process any of it. # run: pants lint check '::' - run: pants lint check '::' --no-pantsd --no-local-cache + run: | + pants clean-all + pants lint check '::' --no-pantsd --no-local-cache - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3 with: