Skip to content

Commit

Permalink
ci: add .NET 9 preview test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
skwasjer committed Sep 10, 2024
1 parent b026c0b commit c2982b2
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/net-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
pull_request:

name: net-preview
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
dotnet-version: 9.0.0-preview.7.24405.2
dotnet-target: net9.0

jobs:
test:
runs-on: ubuntu-latest
steps:
# Setup
- uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.dotnet-version }}

- run: dotnet --info

# Checkout
- uses: actions/checkout@v4
with:
fetch-depth: 1

# Run all tests
- run: dotnet test -c Release -f ${{ env.dotnet-target }} -p:NetPreview=true

0 comments on commit c2982b2

Please sign in to comment.