@@ -10,33 +10,23 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout repository
13- uses : actions/checkout@v3
13+ uses : actions/checkout@v5
1414
1515 - name : Setup .NET
16- uses : actions/setup-dotnet@v3
16+ uses : actions/setup-dotnet@v5
1717 with :
18- dotnet-version : ' 9.x'
18+ dotnet-version : |
19+ 9.x
20+ 10.x
1921
2022 - name : Restore dependencies
21- run : dotnet restore CodeOfChaos.Types.sln
23+ run : dotnet restore CodeOfChaos.Types.slnx
2224
2325 - name : Build
24- run : dotnet build CodeOfChaos.Types.sln --configuration Release --no-restore
25-
26- # Ensure that the tests must pass
27- # The job will fail automatically if any test fails because `dotnet test` exits with a non-zero code
28- - name : Run tests - Extensions
29- run : dotnet run -c Release --no-restore --no-build
30- working-directory : " tests/Tests.CodeOfChaos.Types"
31- - name : Run tests - Extensions
32- run : dotnet run -c Release --no-restore --no-build
33- working-directory : " tests/Tests.CodeOfChaos.Types.TypedValueStore"
34- - name : Run tests - Extensions
35- run : dotnet run -c Release --no-restore --no-build
36- working-directory : " tests/Tests.CodeOfChaos.Types.DataSeeder"
37- - name : Run tests - CodeOfChaos.Types.UnitOfWork
38- run : dotnet run -c Release --no-restore --no-build
39- working-directory : " tests/Tests.CodeOfChaos.Types.UnitOfWork"
26+ run : dotnet build CodeOfChaos.Types.slnx --configuration Release --no-restore
27+
28+ - name : Run tests
29+ run : dotnet test --solution CodeOfChaos.Types.slnx --configuration Release --no-restore --no-build
4030
4131 - name : Publish to NuGet
4232 env :
0 commit comments