From 9c80aa4250dcc231dc88c475e3cc44c9842f264e Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Sat, 18 Dec 2021 20:33:50 +0100 Subject: [PATCH] Do shallow clones for sonar --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3431034..88e1316 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,6 +24,8 @@ jobs: - name: Checkout (without submodules) uses: actions/checkout@v2 + with: + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Set up JDK 11 (for Sonar) uses: actions/setup-java@v1