Skip to content

Commit 939fccd

Browse files
committed
Chore: Update package dependencies and add GitHub Actions workflow for .NET testing
1 parent 2b841df commit 939fccd

File tree

8 files changed

+36
-7
lines changed

8 files changed

+36
-7
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
name: Dotnet Testing
3+
4+
on:
5+
workflow_dispatch:
6+
pull_request:
7+
types: [opened, synchronize, reopened, ready_for_review]
8+
branches: [ core ]
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v5
16+
17+
- name: Setup .NET
18+
uses: actions/setup-dotnet@v5
19+
with:
20+
dotnet-version: '9.x'
21+
22+
- name: Restore dependencies
23+
run: dotnet restore CodeOfChaos.Types.sln
24+
25+
- name: Build
26+
run: dotnet build CodeOfChaos.Types.sln --configuration Release --no-restore -p:GeneratePackageOnBuild=false -p:IsPackable=false
27+
28+
- name: Run tests
29+
run: dotnet test CodeOfChaos.Types.sln --configuration Release --no-restore --no-build

CodeOfChaos.Types.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{197E72AD-DEA
88
EndProject
99
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{8DD280D4-1E14-4D5E-AFE6-58DD8F079DCC}"
1010
EndProject
11-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{AF1A203C-6EF1-440E-BB3C-55B1DBFE9C19}"
11+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".dev-tools", ".dev-tools", "{AF1A203C-6EF1-440E-BB3C-55B1DBFE9C19}"
1212
EndProject
1313
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tools.CodeOfChaos.Types", "src\Tools.CodeOfChaos.Types\Tools.CodeOfChaos.Types.csproj", "{ADEADD97-0AFA-4D9E-970B-9FFB932949B3}"
1414
EndProject

src/Tools.CodeOfChaos.Types/Tools.CodeOfChaos.Types.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="CodeOfChaos.CliArgsParser.Library" Version="5.1.1" />
12+
<PackageReference Include="CodeOfChaos.CliArgsParser.Library" Version="5.1.2" />
1313
</ItemGroup>
1414

1515
</Project>

tests/Benchmarks.CodeOfChaos.Types.TypedValueStore/Benchmarks.CodeOfChaos.Types.TypedValueStore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="BenchmarkDotNet" Version="0.15.5" />
11+
<PackageReference Include="BenchmarkDotNet" Version="0.15.6" />
1212
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.10" />
1313
</ItemGroup>
1414

tests/Tests.CodeOfChaos.Types.DataSeeder/Tests.CodeOfChaos.Types.DataSeeder.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<PackageReference Include="JetBrains.Annotations" Version="2025.2.2" />
1515
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.10" />
1616
<PackageReference Include="Moq" Version="4.20.72"/>
17-
<PackageReference Include="TUnit" Version="0.90.6" />
17+
<PackageReference Include="TUnit" Version="1.0.48" />
1818
<PackageReference Include="Bogus" Version="35.6.5" />
1919
</ItemGroup>
2020

tests/Tests.CodeOfChaos.Types.TypedValueStore/Tests.CodeOfChaos.Types.TypedValueStore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<ItemGroup>
1515
<PackageReference Include="JetBrains.Annotations" Version="2025.2.2" />
1616
<PackageReference Include="Moq" Version="4.20.72"/>
17-
<PackageReference Include="TUnit" Version="0.90.6" />
17+
<PackageReference Include="TUnit" Version="1.0.48" />
1818
<PackageReference Include="Bogus" Version="35.6.5" />
1919
</ItemGroup>
2020

tests/Tests.CodeOfChaos.Types.UnitOfWork/Tests.CodeOfChaos.Types.UnitOfWork.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.10" />
1111
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="9.0.10" />
1212
<PackageReference Include="Moq" Version="4.20.72"/>
13-
<PackageReference Include="TUnit" Version="0.90.6" />
13+
<PackageReference Include="TUnit" Version="1.0.48" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

tests/Tests.CodeOfChaos.Types/Tests.CodeOfChaos.Types.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<ItemGroup>
1414
<PackageReference Include="JetBrains.Annotations" Version="2025.2.2" />
1515
<PackageReference Include="Moq" Version="4.20.72"/>
16-
<PackageReference Include="TUnit" Version="0.90.6" />
16+
<PackageReference Include="TUnit" Version="1.0.48" />
1717
<PackageReference Include="Bogus" Version="35.6.5" />
1818
</ItemGroup>
1919

0 commit comments

Comments
 (0)