Skip to content

fix: sort by datetime #10

fix: sort by datetime

fix: sort by datetime #10

name: Publish coverage report
on:
push:
branches:
- main
paths:
- 'src/**'
- 'tests/**'
- '*.sln'
- 'Directory.Build.props'
jobs:
publish-coverage:
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:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
PROJECT_VERSION: ${{ github.sha }}
SOURCE_BRANCH_NAME: ${{ github.ref_name }}
run: |
set -e
docker compose up -d db
./scripts/start-sonarcloud.sh