From fabbb82e608a19e53398cbe673c93f8fa325b516 Mon Sep 17 00:00:00 2001 From: stnolting Date: Sat, 5 Oct 2024 04:46:52 +0200 Subject: [PATCH] [linty] auto-gen sonar-project.properties --- .github/sonar-project.properties | 2 -- .github/workflows/Linty.yml | 6 ++++-- 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 .github/sonar-project.properties diff --git a/.github/sonar-project.properties b/.github/sonar-project.properties deleted file mode 100644 index 7f8fff709..000000000 --- a/.github/sonar-project.properties +++ /dev/null @@ -1,2 +0,0 @@ -sonar.projectKey=neorv32 -sonar.sources=./rtl/core,./sim diff --git a/.github/workflows/Linty.yml b/.github/workflows/Linty.yml index 115b66862..11ef37e42 100644 --- a/.github/workflows/Linty.yml +++ b/.github/workflows/Linty.yml @@ -15,8 +15,10 @@ jobs: with: fetch-depth: 0 - - name: Setup - run: cp $GITHUB_WORKSPACE/.github/sonar-project.properties $GITHUB_WORKSPACE/sonar-project.properties + - name: Create sonar-project.properties + run: | + echo "sonar.projectKey=neorv32" > $GITHUB_WORKSPACE/sonar-project.properties + echo "sonar.sources=./rtl/core,./sim" >> $GITHUB_WORKSPACE/sonar-project.properties - name: Cache uses: actions/cache@v3.3.0