Skip to content

Update the readme

Update the readme #19

name: Verify pull request
on:
pull_request:
branches: [ "main" ]
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_NOLOGO: true
jobs:
build:
name: Verify pull request
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up .NET Core (global.json)
uses: actions/setup-dotnet@v4
- name: dotnet build (sources only)
run: dotnet build src/Sotsera.Sources.Common/Sotsera.Sources.Common.csproj --configuration Release
- name: dotnet build (tests only)
run: |
dotnet build test/Sotsera.Sources.Common.Tests.Unit/Sotsera.Sources.Common.Tests.Unit.csproj --configuration Release
dotnet build test/Sotsera.Sources.Common.Tests.Integration/Sotsera.Sources.Common.Tests.Integration.csproj --configuration Release
- name: dotnet test
run: dotnet test --configuration Release --no-build
- name: dotnet format
run: dotnet format -v detailed --verify-no-changes --no-restore