Skip to content

Merge branch 'main' of https://github.com/SpotiCloud/music-service #3

Merge branch 'main' of https://github.com/SpotiCloud/music-service

Merge branch 'main' of https://github.com/SpotiCloud/music-service #3

Workflow file for this run

name: SonarCloud Analysis
on:
push:
branches:
- main
jobs:
sonarcloud:
name: SonarCloud Scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0'
- name: Install SonarScanner
run: dotnet tool install --global dotnet-sonarscanner
- name: SonarCloud Scan
run: |
dotnet sonarscanner begin /k:""${{ secrets.SONAR_PROJECT }}"" /o:""${{ secrets.SONAR_ORGANIZATION }}"" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
dotnet build
dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"