diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b673ef98f73..3dc6eb30694 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - uses: actions/setup-go@v4 with: go-version: '1.20' diff --git a/sonar-project.properties b/sonar-project.properties index e15c7f49a0c..11d339bd817 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -19,3 +19,6 @@ sonar.go.coverage.reportPaths=coverage-erigon.out,coverage-erigon-lib.out sonar.c.file.suffixes=- sonar.cpp.file.suffixes=- sonar.objc.file.suffixes=- + +# Specify whether to scan python files in the repo following python 2 or 3 rules +sonar.python.version=3.12