dependabot[bot] working the workflow #293
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 and validate project | |
| run-name: ${{ github.actor }} working the workflow | |
| on: [push] | |
| env: | |
| CONTAINER_TAG: returnonit.azurecr.io/returnonit/returnonit:latest | |
| jobs: | |
| run-unit-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup Dot Net | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '8' | |
| - name: Check it out | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: dotnet restore | |
| - name: Build Server | |
| run: dotnet build PersonalityBaseballCards.Server/PersonalityBaseballCards.Server.csproj | |
| - name: Build Models | |
| run: dotnet build PersonalityBaseballCards.Models/PersonalityBaseballCards.Models.csproj | |
| - name: Build Unit Tests | |
| run: dotnet build UnitTests/UnitTests.csproj | |
| - name: Run Unit Tests | |
| run: dotnet test |