From 6e0d9d883972244396446b511ce33469f10a68be Mon Sep 17 00:00:00 2001 From: Timothy Mothra Date: Mon, 1 Aug 2022 14:48:47 -0700 Subject: [PATCH 01/24] add Net7 (preview) to test matrix (#2636) * eval dotnet versions * testing format fix * apply fix to other yml * update * fix merge conflict --- .github/CONTRIBUTING.md | 1 + .github/workflows/build-and-test-BASE.yml | 7 ++++++- .github/workflows/build-and-test-LOGGING.yml | 7 ++++++- .github/workflows/build-and-test-NETCORE.yml | 7 ++++++- .github/workflows/build-and-test-WEB.yml | 7 ++++++- .github/workflows/redfield-sanity-check.yml | 7 ++++++- .github/workflows/sanity.yml | 5 +++++ .props/Test.props | 7 ++++--- Directory.Build.props | 4 ++-- 9 files changed, 42 insertions(+), 10 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 5196f20210..23bf0510e2 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -26,6 +26,7 @@ To successfully build the sources on your machine, make sure you've installed th - .NET Framework 4.8 - .NET Core 3.1 - .NET 6 + - .NET 7 ## Build diff --git a/.github/workflows/build-and-test-BASE.yml b/.github/workflows/build-and-test-BASE.yml index c1ac1246a7..b01f0dd052 100644 --- a/.github/workflows/build-and-test-BASE.yml +++ b/.github/workflows/build-and-test-BASE.yml @@ -24,7 +24,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - framework: [net452, net462, net472, net480, netcoreapp3.1, net6.0] + framework: [net452, net462, net472, net480, netcoreapp3.1, net6.0, net7.0] include: - os: ubuntu-latest args: "--filter TestCategory!=WindowsOnly" @@ -39,6 +39,11 @@ jobs: 3.1.x 6.0.x + - uses: actions/setup-dotnet@v2 + with: + dotnet-version: '7.0.x' + include-prerelease: true + - name: Restore run: dotnet restore ${{ env.SOLUTION }} diff --git a/.github/workflows/build-and-test-LOGGING.yml b/.github/workflows/build-and-test-LOGGING.yml index 79ba5d0a64..c922f851b4 100644 --- a/.github/workflows/build-and-test-LOGGING.yml +++ b/.github/workflows/build-and-test-LOGGING.yml @@ -24,7 +24,7 @@ jobs: fail-fast: false matrix: os: [windows-latest] - framework: [net452, net462, net472, net480, netcoreapp3.1, net6.0] + framework: [net452, net462, net472, net480, netcoreapp3.1, net6.0, net7.0] steps: - uses: actions/checkout@v2 @@ -36,6 +36,11 @@ jobs: 3.1.x 6.0.x + - uses: actions/setup-dotnet@v2 + with: + dotnet-version: '7.0.x' + include-prerelease: true + - name: Restore run: dotnet restore ${{ env.SOLUTION }} diff --git a/.github/workflows/build-and-test-NETCORE.yml b/.github/workflows/build-and-test-NETCORE.yml index 1de041f3cd..83fcef0e79 100644 --- a/.github/workflows/build-and-test-NETCORE.yml +++ b/.github/workflows/build-and-test-NETCORE.yml @@ -24,7 +24,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - framework: [net452, net462, net472, net480, netcoreapp3.1, net6.0] + framework: [net452, net462, net472, net480, netcoreapp3.1, net6.0, net7.0] include: - os: ubuntu-latest args: "--filter TestCategory!=WindowsOnly" @@ -39,6 +39,11 @@ jobs: 3.1.x 6.0.x + - uses: actions/setup-dotnet@v2 + with: + dotnet-version: '7.0.x' + include-prerelease: true + - name: Restore run: dotnet restore ${{ env.SOLUTION }} diff --git a/.github/workflows/build-and-test-WEB.yml b/.github/workflows/build-and-test-WEB.yml index 9e313a6b35..b7374a87c2 100644 --- a/.github/workflows/build-and-test-WEB.yml +++ b/.github/workflows/build-and-test-WEB.yml @@ -24,7 +24,7 @@ jobs: fail-fast: false matrix: os: [windows-latest] - framework: [net452, net462, net472, net480, netcoreapp3.1, net6.0] + framework: [net452, net462, net472, net480, netcoreapp3.1, net6.0, net7.0] steps: - uses: actions/checkout@v2 @@ -36,6 +36,11 @@ jobs: 3.1.x 6.0.x + - uses: actions/setup-dotnet@v2 + with: + dotnet-version: '7.0.x' + include-prerelease: true + - name: Restore run: dotnet restore ${{ env.SOLUTION }} diff --git a/.github/workflows/redfield-sanity-check.yml b/.github/workflows/redfield-sanity-check.yml index 7dfbf9260c..464aeb0074 100644 --- a/.github/workflows/redfield-sanity-check.yml +++ b/.github/workflows/redfield-sanity-check.yml @@ -24,7 +24,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - framework: [netcoreapp3.1,net6.0] + framework: [netcoreapp3.1,net6.0,net7.0] include: - os: ubuntu-latest args: "--filter TestCategory!=WindowsOnly" @@ -39,6 +39,11 @@ jobs: 3.1.x 6.0.x + - uses: actions/setup-dotnet@v2 + with: + dotnet-version: '7.0.x' + include-prerelease: true + - name: Restore run: dotnet restore ${{ env.SOLUTION }} diff --git a/.github/workflows/sanity.yml b/.github/workflows/sanity.yml index 366f01cfd4..8b05036065 100644 --- a/.github/workflows/sanity.yml +++ b/.github/workflows/sanity.yml @@ -38,6 +38,11 @@ jobs: 3.1.x 6.0.x + - uses: actions/setup-dotnet@v2 + with: + dotnet-version: '7.0.x' + include-prerelease: true + - name: Restore run: dotnet restore ${{ matrix.solution }} diff --git a/.props/Test.props b/.props/Test.props index 9ec8bcf889..797ab6472a 100644 --- a/.props/Test.props +++ b/.props/Test.props @@ -16,10 +16,11 @@ - net4.7.2 - net4.8.0 - netcoreapp3.1 (EoL Dec 2022) - - net6.0 (GA Nov 2021) + - net6.0 (EoL Nov 2024) + - net7.0 (GA Nov 2022) --> - net462;net472;net480;netcoreapp3.1;net6.0 - netcoreapp3.1;net6.0 + net462;net472;net480;netcoreapp3.1;net6.0;net7.0 + netcoreapp3.1;net6.0;net7.0 diff --git a/Directory.Build.props b/Directory.Build.props index e365a51256..808128974e 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -82,8 +82,8 @@ preview True - True - True + True + True - net462;net472;net480;netcoreapp3.1;net6.0;net7.0 + net462;net472;net480;net481;netcoreapp3.1;net6.0;net7.0 netcoreapp3.1;net6.0;net7.0 diff --git a/Directory.Build.props b/Directory.Build.props index 808128974e..58e3e9f31c 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -81,9 +81,9 @@ preview - True + True True - True + True