feat(ci): fix CI, switch to self-hosted SonarQube
Some checks failed
Conventional Commit / Validate PR Title (pull_request) Successful in 32s
CI / ci (pull_request) Has been cancelled

This commit is contained in:
2025-02-09 20:52:26 +00:00
parent 7ce7783bb7
commit 5978a83254
16 changed files with 11 additions and 17 deletions

View File

@@ -58,6 +58,7 @@ jobs:
- name: SonarQube Cloud Scan
uses: SonarSource/sonarqube-scan-action@v4.2.1
env:
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST_URL }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Snyk Vulnerability Scan

View File

@@ -5,18 +5,13 @@ on:
- cron: "0 9 * * 0"
jobs:
# test:
# name: Test
# uses: https://git.tainton.uk/public/pypilot/.gitea/workflows/ci.yml@main
# with:
# python-version: 3.13
# secrets:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
test:
name: Test
uses: https://git.tainton.uk/repos/pypilot/.gitea/workflows/ci.yml@main
create_release:
name: Create Release
# needs: test
needs: test
uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/create-release.yml@main
secrets:
ACTIONS_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
@@ -51,8 +46,7 @@ jobs:
- name: Setup Poetry
uses: abatilo/actions-poetry@v4
- name: Update pyproject.toml
run:
./tools/update_pyproject.sh ${{ needs.create_release.outputs.release_name }}
run: ./tools/update_pyproject.sh ${{ needs.create_release.outputs.release_name }}
- name: Install dependencies
run: poetry install
- name: Build wheel file