Skip to content

chore(deps): update peter-evans/create-pull-request action to v7.0.9 #417

chore(deps): update peter-evans/create-pull-request action to v7.0.9

chore(deps): update peter-evans/create-pull-request action to v7.0.9 #417

Workflow file for this run

name: SonarCloud
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened
permissions:
contents: read
jobs:
build:
name: Build and analyze
runs-on: ubuntu-24.04
env:
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory
permissions:
contents: read
steps:
- name: Check out code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
with:
fetch-depth: 0
- name: Install dependencies
uses: ./.github/actions/install-dependencies
- name: Generate compilation database
run: cmake -B build
- name: Run sonar-scanner
uses: SonarSource/sonarqube-scan-action@fd88b7d7ccbaefd23d8f36f73b59db7a3d246602 # v6.0.0
with:
args: --define sonar.cfamily.compile-commands=build/compile_commands.json
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}