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 Nov 13, 2024
1 parent b11f263 commit d055e78
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/net-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
on:
push:
branches:
- main
release:
types:
- published
pull_request:

name: net-preview
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
dotnet-version: 9.0.100-preview.7.24407.12
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 d055e78

Please sign in to comment.