Skip to content

Override TargetFrameworks to net10.0 in CI/publish workflows #3

Override TargetFrameworks to net10.0 in CI/publish workflows

Override TargetFrameworks to net10.0 in CI/publish workflows #3

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build-and-test:
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- name: Build
run: dotnet build src/NetMQ/NetMQ.csproj -c Release /p:TargetFrameworks=net10.0 && dotnet build src/NetMQ.Tests/NetMQ.Tests.csproj -c Release
- name: Test
run: dotnet test src/NetMQ.Tests/NetMQ.Tests.csproj -c Release --no-build -f net10.0 -p:ParallelizeTestCollections=false --filter "ClassName!=NetMQ.Tests.BeaconTests&ClassName!=NetMQ.Tests.PgmTests"