diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index 07742a62..7d1d026a 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - version: [net6.0] + version: [net7.0] env: OS: ${{ matrix.os }} @@ -26,6 +26,11 @@ jobs: with: fetch-depth: 0 + - name: Setup .NET Core 7.0.x + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '7.0.x' + - name: Install dependencies run: dotnet restore diff --git a/.github/workflows/dotnet-format.yml b/.github/workflows/dotnet-format.yml index f1fbef59..5616a74d 100644 --- a/.github/workflows/dotnet-format.yml +++ b/.github/workflows/dotnet-format.yml @@ -20,10 +20,10 @@ jobs: - name: Check out code uses: actions/checkout@v3 - - name: Setup .NET Core 6.0 + - name: Setup .NET Core 7.0 uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 7.0.x - name: Install format tool run: dotnet tool install -g dotnet-format diff --git a/.github/workflows/linux-ci.yml b/.github/workflows/linux-ci.yml index ddad7023..1394677a 100644 --- a/.github/workflows/linux-ci.yml +++ b/.github/workflows/linux-ci.yml @@ -16,13 +16,20 @@ jobs: strategy: matrix: - version: [net6.0] + version: [net6.0,net7.0] steps: - uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Setup .NET Core 6.0.x, 7.0.x + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 6.0.x + 7.0.x + - name: Install dependencies run: dotnet restore diff --git a/.github/workflows/windows-ci.yml b/.github/workflows/windows-ci.yml index 11119320..1542290d 100644 --- a/.github/workflows/windows-ci.yml +++ b/.github/workflows/windows-ci.yml @@ -16,13 +16,20 @@ jobs: strategy: matrix: - version: [net462,net6.0] + version: [net462,net6.0,net7.0] steps: - uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Setup .NET Core 6.0.x, 7.0.x + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 6.0.x + 7.0.x + - name: Install dependencies run: dotnet restore diff --git a/global.json b/global.json index f62ff544..40b47077 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { "rollForward": "latestFeature", - "version": "6.0.402" + "version": "7.0.100" } } diff --git a/test/OpenFeature.Tests/OpenFeature.Tests.csproj b/test/OpenFeature.Tests/OpenFeature.Tests.csproj index c620e976..7f630ef0 100644 --- a/test/OpenFeature.Tests/OpenFeature.Tests.csproj +++ b/test/OpenFeature.Tests/OpenFeature.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net6.0;net7.0 $(TargetFrameworks);net462 OpenFeature.Tests