Skip to content

Modern Docker Management, Designed for Everyone

ci/cd: remove sonarqube workflows

Kyle Mendell69eb20674c11
diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml
deleted file mode 100644
index 029a1bcbc..000000000
--- a/.github/workflows/sonar.yml
+++ /dev/null
@@ -1,43 +0,0 @@
-name: SonarQube
-"on":
- push:
- branches:
- - main
-jobs:
- build:
- name: scan
- runs-on: depot-ubuntu-24.04-8
- defaults:
- run:
- working-directory: backend
-
- steps:
- - uses: actions/checkout@v6
- with:
- fetch-depth: 0
- - name: Set up Depot CLI
- uses: depot/setup-action@v1
- - name: Setup Go
- uses: actions/setup-go@v6
- with:
- go-version-file: backend/go.mod
- cache: true
- cache-dependency-path: backend/go.sum
- - name: Install GCC
- run: |
- sudo apt-get update
- sudo apt-get install -y gcc
- - name: Download modules
- run: go mod download
- - name: Run unit tests
- env:
- CGO_ENABLED: "1"
- run: |
- go test -tags=exclude_frontend ./... -race -coverprofile=coverage.out -covermode=atomic -json > test-report.out
- sed -i 's|github.com/ofkm/arcane-backend|backend|g' coverage.out
- mv coverage.out ../coverage.out
- mv test-report.out ../test-report.out
- - uses: SonarSource/sonarqube-scan-action@v6
- env:
- SONAR_TOKEN: "${{ secrets.SONAR_TOKEN }}"
- SONAR_HOST_URL: "${{ secrets.SONAR_HOST_URL }}"