From 00c1cdf8bcf4663c8b34bcfdaf3f2b5de52f06ed Mon Sep 17 00:00:00 2001 From: Byron Mayne Date: Sat, 27 Jul 2024 20:46:30 -0400 Subject: [PATCH] Added more steps --- .github/workflows/ci.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5591575..7a6546a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,9 +12,24 @@ env: SolutionPath: src\SourceGenerator.Foundations.sln MSBUILDDISABLENODEREUSE: '1' # Stops MSBuild from locking MSBuild nuget package jobs: + build: + name: Build + runs-on: windows-latest + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 6.0.x + - name: Build Solution + run: dotnet test src\SourceGenerator.Foundations.sln + test: name: Test runs-on: windows-latest + needs: build strategy: matrix: project: @@ -28,7 +43,7 @@ jobs: with: dotnet-version: 6.0.x - name: Test | ${{ matrix.project.name }} - run: dotnet test ${{ matrix.project.name }} + run: dotnet test src\${{ matrix.project.name }}\${{ matrix.project.name }}.csproj publish: name: build, bundle & publish