Refactor DI configuration in IServiceCollectionExtensions #37
Workflow file for this run
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: Build and Test | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core 8 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.x | |
- name: Setup .NET Core 9 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 9.x | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Test | |
run: dotnet test --no-restore --verbosity normal --logger trx --collect:"XPlat Code Coverage" --no-build | |
- name: Test Pack nuget | |
run: | | |
dotnet pack --no-build --no-restore --include-symbols --verbosity normal --configuration Debug | |