Skip to content

Commit dd87f2f

Browse files
committed
sonar: fix warnings
1 parent 190cbfa commit dd87f2f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333

3434
steps:
3535
- uses: actions/checkout@v3
36+
with:
37+
fetch-depth: 0
3638
- uses: actions/setup-go@v4
3739
with:
3840
go-version: '1.20'

sonar-project.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ sonar.go.coverage.reportPaths=coverage-erigon.out,coverage-erigon-lib.out
1919
sonar.c.file.suffixes=-
2020
sonar.cpp.file.suffixes=-
2121
sonar.objc.file.suffixes=-
22+
23+
# Specify whether to scan python files in the repo following python 2 or 3 rules
24+
sonar.python.version=3.12

0 commit comments

Comments
 (0)