Skip to content

Merge pull request #22 from rafaelpadovezi/chore/update-net-8 #2

Merge pull request #22 from rafaelpadovezi/chore/update-net-8

Merge pull request #22 from rafaelpadovezi/chore/update-net-8 #2

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths:
- 'src/**'
- 'tests/**'
- '*.sln'
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# Shallow clones should be disabled for a better relevancy of analysis
fetch-depth: 0
- name: Install dotnet-sonarscanner
run: |
dotnet tool install --global dotnet-sonarscanner
- name: Build the project, run all tests and publish to SonarCloud
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
docker-compose up -d mongoclustersetup sqlserver
./scripts/start-sonarcloud.sh ${{ secrets.SONAR_TOKEN }} ${{ github.sha }}