diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index d5ab189b01..524d3397d1 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -7,62 +7,47 @@ env: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: net60: - name: '6.0' + name: '8.0' runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-dotnet@v1 with: - dotnet-version: '6.0.x' + dotnet-version: '8.0.x' - run: ./Build/CI/tests.sh env: BUILD_ARGS: /p:AdditionalDefineConstants=SECP256K1_VERIFY - Framework: net6.0 - dotnetcore31: - name: '3.1' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '6.0.x' - - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.x' - - run: ./Build/CI/tests.sh - env: - BUILD_ARGS: /p:AdditionalDefineConstants=SECP256K1_VERIFY - Framework: netcoreapp3.1 + Framework: net8.0 dotnetcore60standard20: - name: '6.0 with netstandard2.0' + name: '8.0 with netstandard2.0' runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-dotnet@v1 with: - dotnet-version: '6.0.x' + dotnet-version: '8.0.x' - run: ./Build/CI/tests.sh env: BUILD_ARGS: /p:TargetFrameworkOverride=netstandard2.0 - Framework: net6.0 + Framework: net8.0 dotnetcore60macos: - name: '6.0 on Mac-OS' + name: '8.0 on Mac-OS' runs-on: macOS-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-dotnet@v1 with: - dotnet-version: '6.0.x' + dotnet-version: '8.0.x' - run: ./Build/CI/tests.sh env: - Framework: net6.0 + Framework: net8.0 dotnetcore60winfx: - name: '6.0 on Windows NetFramework472' + name: '8.0 on Windows NetFramework472' runs-on: windows-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-dotnet@v1 with: - dotnet-version: '6.0.x' + dotnet-version: '8.0.x' - run: dotnet clean -c Release ./NBitcoin.Tests/NBitcoin.Tests.csproj && dotnet nuget locals all --clear - run: dotnet test -c Release -v n ./NBitcoin.Tests/NBitcoin.Tests.csproj --filter "RestClient=RestClient|RPCClient=RPCClient|Protocol=Protocol|Core=Core|UnitTest=UnitTest|Altcoins=Altcoins|PropertyTest=PropertyTest" -p:ParallelizeTestCollections=false -f net472 diff --git a/NBitcoin.Altcoins/NBitcoin.Altcoins.csproj b/NBitcoin.Altcoins/NBitcoin.Altcoins.csproj index 03900d32a2..fcf291ee02 100644 --- a/NBitcoin.Altcoins/NBitcoin.Altcoins.csproj +++ b/NBitcoin.Altcoins/NBitcoin.Altcoins.csproj @@ -12,7 +12,7 @@ git - net6.0;net472;netstandard1.3;netstandard2.0;netstandard2.1 + net8.0;net472;netstandard1.3;netstandard2.0;netstandard2.1 netstandard2.1 $(TargetFrameworkOverride) 1591;1573;1572;1584;1570;3021 @@ -22,7 +22,7 @@ - + $(DefineConstants);HAS_SPAN true diff --git a/NBitcoin.Bench/NBitcoin.Bench.csproj b/NBitcoin.Bench/NBitcoin.Bench.csproj index cfd187a5d5..4d46889be3 100644 --- a/NBitcoin.Bench/NBitcoin.Bench.csproj +++ b/NBitcoin.Bench/NBitcoin.Bench.csproj @@ -2,7 +2,7 @@ Exe - net6.0;netcoreapp3.1 + net8.0;netcoreapp3.1 pdbonly true diff --git a/NBitcoin.Secp256k1/NBitcoin.Secp256k1.csproj b/NBitcoin.Secp256k1/NBitcoin.Secp256k1.csproj index c5837e99c5..c4a7a52e4d 100644 --- a/NBitcoin.Secp256k1/NBitcoin.Secp256k1.csproj +++ b/NBitcoin.Secp256k1/NBitcoin.Secp256k1.csproj @@ -11,7 +11,7 @@ git - net6.0;netstandard2.1 + net8.0;netstandard2.1 3.1.4 diff --git a/NBitcoin.Tests/NBitcoin.Tests.csproj b/NBitcoin.Tests/NBitcoin.Tests.csproj index 06a46c31ad..e3310bd3fb 100644 --- a/NBitcoin.Tests/NBitcoin.Tests.csproj +++ b/NBitcoin.Tests/NBitcoin.Tests.csproj @@ -7,8 +7,8 @@ 9.0 - net6.0;netcoreapp3.1;net472 - net6.0 + net8.0;netcoreapp3.1;net472 + net8.0 @@ -25,7 +25,7 @@ $(DefineConstants);NETCORE;NOTRACESOURCE;NOCUSTOMSSLVALIDATION;NOHTTPSERVER - + $(DefineConstants);NETCORE;HAS_SPAN;NO_BC true diff --git a/NBitcoin/NBitcoin.csproj b/NBitcoin/NBitcoin.csproj index 5bc0482a2f..7dd4383ca1 100644 --- a/NBitcoin/NBitcoin.csproj +++ b/NBitcoin/NBitcoin.csproj @@ -20,7 +20,7 @@ true - net472;netstandard1.3;netstandard1.1;netstandard2.1;netstandard2.0;net6.0 + net472;netstandard1.3;netstandard1.1;netstandard2.1;netstandard2.0;net8.0 $(TargetFrameworkOverride) 1591;1573;1572;1584;1570;3021 true @@ -33,10 +33,10 @@ $(DefineConstants);CLASSICDOTNET;NO_ARRAY_FILL;NULLABLE_SHIMS;NO_SOCKETASYNC - + $(DefineConstants);NOCUSTOMSSLVALIDATION;NO_NATIVERIPEMD160 - + $(DefineConstants);NETCORE;HAS_SPAN;NO_BC true @@ -57,7 +57,7 @@ - +