Libraries central management #4
This file contains hidden or 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: "Check PR" | |
| on: | |
| pull_request: | |
| branches: | |
| - "main" | |
| paths: | |
| - "src/**" | |
| workflow_dispatch: | |
| concurrency: | |
| group: "${{github.workflow}}-${{github.head_ref}}" | |
| cancel-in-progress: true | |
| jobs: | |
| tests: | |
| name: "Check build" | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: "Setup .NET CLI" | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: "10.x" | |
| - name: "Restore Solution NuGets" | |
| run: dotnet restore | |
| - name: "Build Solution" | |
| run: dotnet build | |
| --no-restore | |
| --configuration "Release" |