Skip to content

Merge branch 'main' into development #41

Merge branch 'main' into development

Merge branch 'main' into development #41

Workflow file for this run

name: SonarCloud Analysis
on:
# Trigger analysis when pushing to your main branches, and when creating a pull request.
push:
branches:
- main
- master
- development
- 'releases/**'
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonar-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
java-package: 'jdk'
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@v3 # Ex: v2.1.0, See the latest version at https://github.com/marketplace/actions/sonarcloud-scan
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}