build(deps): bump MongoDB.Driver from 2.27.0 to 3.0.0 #77
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Evaluate PR | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'src/**' | |
- 'tests/**' | |
- '*.sln' | |
- '.github/workflows/**' | |
jobs: | |
evaluate-pr: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
if: github.event.pull_request.head.repo.full_name == github.repository | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
- name: Install dotnet-sonarscanner | |
run: | | |
dotnet tool install --global dotnet-sonarscanner | |
- name: Build the project, run all tests and publish to SonarCloud | |
if: github.event.pull_request.head.repo.full_name == github.repository | |
env: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
docker compose up -d mongoclustersetup sqlserver | |
./scripts/start-sonarcloud.sh ${{ secrets.SONAR_TOKEN }} ${{ github.sha }} | |
- name: Build the project and run all tests | |
if: github.event.pull_request.head.repo.full_name != github.repository | |
run: | | |
docker compose up -d mongoclustersetup sqlserver | |
dotnet build | |
./scripts/start-tests.sh |