chore(deps-actions): bump NuGet/setup-nuget from 2.0.1 to 2.0.2 (#45) #35
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: CI - Build MongoDB EF Core Console App | |
| on: | |
| workflow_dispatch: # Allows manual trigger | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| # Setup .NET SDK for .NET Core project | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: '8.0.x' | |
| # Restore & Build .NET Core project | |
| - name: Restore & Build .NET Core Project | |
| run: | | |
| dotnet restore MongoEFCoreConsoleApp/MongoEFCoreConsoleApp.csproj | |
| dotnet build MongoEFCoreConsoleApp/MongoEFCoreConsoleApp.csproj -c Debug | |
| dotnet test MongoEFCoreConsoleApp/MongoEFCoreConsoleApp.csproj -c Debug --no-build --no-restore | |