Skip to content

docs(changelog): finalize 0.1.0 notes (fold Unreleased, fix repo URLs) #4

docs(changelog): finalize 0.1.0 notes (fold Unreleased, fix repo URLs)

docs(changelog): finalize 0.1.0 notes (fold Unreleased, fix repo URLs) #4

Workflow file for this run

name: Sonar
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
pull-requests: read
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Sonar wants full git history for blame
- uses: actions/setup-go@v5
with:
go-version: '1.23'
cache: true
- name: Tests with coverage
run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
- name: SonarCloud scan
uses: SonarSource/sonarqube-scan-action@v6
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.projectKey=RandomCodeSpace_qctx
-Dsonar.organization=randomcodespace
-Dsonar.go.coverage.reportPaths=coverage.out
-Dsonar.sources=.
-Dsonar.exclusions=**/*_test.go,**/test/**,**/vendor/**,**/docs/**
-Dsonar.tests=.
-Dsonar.test.inclusions=**/*_test.go