Skip to content

Commit 4286a3a

Browse files
chore: Update Deps (#68)
* Chore: Update Deps * Update * Update * Update IntelliTect.TestTools.Console.Tests.csproj * Simplify .NET setup action by removing version input * Add global JSON file support to setup-dotnet action
1 parent 159ae9f commit 4286a3a

6 files changed

Lines changed: 13 additions & 11 deletions

File tree

.github/actions/setup-dotnet-build/action.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
name: 'Setup .NET and Build'
22
description: 'Sets up .NET environment, restores dependencies, and builds the project'
33
inputs:
4-
dotnet-version:
5-
description: '.NET versions to install'
6-
required: false
7-
default: |
8-
9.x
94
configuration:
105
description: 'Build configuration'
116
required: false
@@ -21,7 +16,7 @@ runs:
2116
- name: Setup .NET
2217
uses: actions/setup-dotnet@v4
2318
with:
24-
dotnet-version: ${{ inputs.dotnet-version }}
19+
global-json-file: global.json
2520

2621
- name: Restore dependencies
2722
run: dotnet restore

IntelliTect.TestTools.Console.Tests/ConsoleAssertTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System.Runtime.InteropServices;
1+
using System.Runtime.InteropServices;
22
using System.Threading.Tasks;
33

44
namespace IntelliTect.TestTools.Console.Tests;

IntelliTect.TestTools.Console.Tests/IntelliTect.TestTools.Console.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<ProductName>IntelliTect.TestTools.Console.Tests</ProductName>
77
</PropertyGroup>
8-
8+
99
<ItemGroup>
1010
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
1111
<PackageReference Include="MSTest.TestAdapter" Version="1.3.2" />
@@ -19,4 +19,4 @@
1919
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
2020
</ItemGroup>
2121

22-
</Project>
22+
</Project>

IntelliTect.TestTools.Console.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1212
.github\workflows\build-and-test.yml = .github\workflows\build-and-test.yml
1313
.github\workflows\deploy.yml = .github\workflows\deploy.yml
1414
Directory.Build.props = Directory.Build.props
15+
global.json = global.json
1516
EndProjectSection
1617
EndProject
1718
Global

IntelliTect.TestTools.Console/IntelliTect.TestTools.Console.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
@@ -26,6 +26,6 @@
2626
</ItemGroup>
2727

2828
<ItemGroup>
29-
<PackageReference Include="System.CodeDom" Version="8.0.0" />
29+
<PackageReference Include="System.CodeDom" Version="9.0.6" />
3030
</ItemGroup>
3131
</Project>

global.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"sdk": {
3+
"version": "9.0.100",
4+
"rollForward": "latestMinor"
5+
}
6+
}

0 commit comments

Comments
 (0)