Skip to content

refactor: optimize fact extraction and module synthesis pipeline with… #12

refactor: optimize fact extraction and module synthesis pipeline with…

refactor: optimize fact extraction and module synthesis pipeline with… #12

Workflow file for this run

name: SonarQube Cloud Analysis
on:
push:
branches:
- main
- master
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
jobs:
sonarcloud:
name: SonarQube Cloud Scan
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v7
with:
go-version-file: 'go.mod'
- name: Run tests with coverage
run: |
go test -coverprofile=coverage.out -covermode=atomic ./...
- name: SonarQube Cloud Scan
uses: SonarSource/sonarqube-scan-action@v8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}