Skip to content

Commit

Permalink
Add pr-validation
Browse files Browse the repository at this point in the history
  • Loading branch information
zijchen committed Jan 11, 2024
1 parent 7d1b944 commit d9d356b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: pr-validation

on: pull_request

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '3.1.x'
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '5.x'
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.x'
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '7.x'
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
- run: dotnet build DacFx.sln
- run: dotnet test -f netcoreapp3.1
- run: dotnet test -f net5.0
- run: dotnet test -f net6.0
- run: dotnet test -f net7.0
- run: dotnet test -f net8.0

0 comments on commit d9d356b

Please sign in to comment.