Skip to content

Commit

Permalink
NET8 (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
sungam3r committed Dec 2, 2023
1 parent 39e2328 commit da8b61e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 13 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/cd-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ jobs:
- name: Setup .NET SDKs
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
6.0.x
7.0.201
dotnet-version: 8.0.x
source-url: https://nuget.pkg.github.com/PublicApiGenerator/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/cd-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ jobs:
- name: Setup .NET SDKs
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
6.0.x
7.0.201
dotnet-version: 8.0.x
source-url: https://api.nuget.org/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_AUTH_TOKEN}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
dotnet-version: |
3.1.x
6.0.x
7.0.201
8.0.100
7.0.x
8.0.x
- name: Install dependencies
working-directory: src
run: dotnet restore
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
dotnet-version: 8.0.x

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
5 changes: 4 additions & 1 deletion src/PublicApiGeneratorTests/Assembly_attributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ public class Assembly_attributes : ApiGeneratorTestsBase
[Fact]
public void Attributes()
{
#if NET7_0
#if NET8_0
const string TFM = ".NETCoreApp,Version=v8.0";
const string TFMNAME = ".NET 8.0";
#elif NET7_0
const string TFM = ".NETCoreApp,Version=v7.0";
const string TFMNAME = ".NET 7.0";
#elif NET6_0
Expand Down
2 changes: 1 addition & 1 deletion src/PublicApiGeneratorTests/PublicApiGeneratorTests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net6.0;net7.0;net8.0</TargetFrameworks>
<NoWarn>$(NoWarn);CS0618;CS0067;CS8597;CS8603;CS8618;CS8653;IDE0051;IDE0060;IDE1006</NoWarn>
<!--
CS0618 Class obsolete
Expand Down

0 comments on commit da8b61e

Please sign in to comment.