diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 329d5ef..ebdb776 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,7 @@ name: Build on: push: branches: - - master + - main jobs: build: @@ -11,13 +11,13 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ "3.8", "3.9", "3.10" ] + python-version: [ "3.9", "3.10", "3.11", "3.12" ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Run Tests @@ -30,8 +30,8 @@ jobs: run: | pip install -q build python -m build -s - - uses: sonarsource/sonarqube-scan-action@master - if: matrix.python-version == '3.8' + - uses: sonarsource/sonarqube-scan-action@v3 + if: matrix.python-version == '3.10' env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} diff --git a/sonar-project.properties b/sonar-project.properties index b89604e..f10d6f3 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,6 +1,6 @@ -sonar.projectKey=wuan_bo-python_AYVO9zGlU_dM7amWRinB +sonar.projectKey=wuan_bo-python_4f4dd0cd-b83d-407b-9e5c-2c98a6ca3851 sonar.python.coverage.reportPaths=coverage.xml sonar.python.xunit.reportPath=junit.xml sonar.python.version=3 sonar.sources=blitzortung/ -sonar.tests=tests/ \ No newline at end of file +sonar.tests=tests/