From 2c83cd23b606aa10d9217cb4609a658041cec4c1 Mon Sep 17 00:00:00 2001 From: skwasjer <11424653+skwasjer@users.noreply.github.com> Date: Tue, 10 Sep 2024 05:05:15 +0200 Subject: [PATCH] ci: add .NET 9 preview test pipeline --- .github/workflows/net-preview.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/net-preview.yml diff --git a/.github/workflows/net-preview.yml b/.github/workflows/net-preview.yml new file mode 100644 index 0000000..5f1a817 --- /dev/null +++ b/.github/workflows/net-preview.yml @@ -0,0 +1,28 @@ +on: + 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