Skip to content

Update GitHub Actions versions and Sonar scan args #244

Update GitHub Actions versions and Sonar scan args

Update GitHub Actions versions and Sonar scan args #244

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
build-analyze:
runs-on: macos-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Build and analyze on SonarCloud
env:
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} # Put the name of your token here
run: ./build-analyze.sh
shell: bash