Skip to content

Commit

Permalink
Added more steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ByronMayne committed Jul 28, 2024
1 parent d26d489 commit 00c1cdf
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 00c1cdf

Please sign in to comment.