Skip to content

Commit

Permalink
Updated tests to use net8.0 and net48 frameworks.
Browse files Browse the repository at this point in the history
  • Loading branch information
timcassell committed May 27, 2024
1 parent 187efd3 commit 9a6b420
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/csproj-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
dotnet-version: 8.X

- name: Build Core
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-core-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
dotnet-version: 8.X

- name: Run Analyzer Tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-nuget-analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
dotnet-version: 8.X

- name: Build Package
run: dotnet build ./ProtoPromise.Analyzer/ProtoPromise.Analyzer -c Release /p:PackageVersion=${{ github.event.inputs.version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
dotnet-version: 8.X

- name: Build Debug
run: dotnet build -c Debug /p:IsNugetBuild=true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net472</TargetFrameworks>
<TargetFrameworks>net8.0;net48</TargetFrameworks>

<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
Expand Down
2 changes: 1 addition & 1 deletion ProtoPromiseTests/ProtoPromiseTests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net472</TargetFrameworks>
<TargetFrameworks>net8.0;net48</TargetFrameworks>
<IsPackable>false</IsPackable>
<LangVersion>9</LangVersion>
<!-- Set from command line -->
Expand Down
5 changes: 0 additions & 5 deletions global.json

This file was deleted.

0 comments on commit 9a6b420

Please sign in to comment.