Skip to content

Commit fc3367c

Browse files
author
MPCoreDeveloper
committed
ci git fix Copilot recommended
1 parent ca68169 commit fc3367c

File tree

2 files changed

+15
-28
lines changed

2 files changed

+15
-28
lines changed

SharpCoreDB.Benchmarks/TimeTrackingBenchmarks.cs

Whitespace-only changes.

SharpCoreDB/.github/workflows/ci.yml

Lines changed: 15 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,42 +7,29 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
build-and-test:
11-
runs-on: ubuntu-latest
12-
timeout-minutes: 15
10+
build:
11+
runs-on: windows-latest
1312

1413
steps:
1514
- uses: actions/checkout@v4
1615

1716
- name: Setup .NET
1817
uses: actions/setup-dotnet@v4
1918
with:
20-
dotnet-version: '10.0.x'
19+
dotnet-version: 10.0.100
2120
include-prerelease: true
2221

23-
- name: Restore dependencies
24-
run: dotnet restore
22+
- name: Show .NET SDK and MSBuild versions
23+
run: |
24+
dotnet --version
25+
dotnet --info
26+
dotnet msbuild -version
2527
26-
- name: Build
27-
run: dotnet build --no-restore --configuration Release
28+
- name: Restore workloads
29+
run: dotnet workload restore
2830

29-
- name: Test with detailed logging
30-
id: test
31-
continue-on-error: true # zodat we altijd artifacts krijgen
32-
run: |
33-
dotnet test --no-build --configuration Release \
34-
--logger "trx;LogFileName=TestResults.trx" \
35-
--logger "console;verbosity=detailed" \
36-
--collect:"XPlat Code Coverage" \
37-
--results-directory ./TestResults \
38-
--blame-hang-timeout 2m \
39-
/p:CollectCoverage=true
40-
41-
- name: Upload test results (always)
42-
if: always()
43-
uses: actions/upload-artifact@v4
44-
with:
45-
name: test-results-trx
46-
path: |
47-
**/TestResults/*.trx
48-
**/*.coverage
31+
- name: Restore packages
32+
run: dotnet restore SharpCoreDB.sln
33+
34+
- name: Build
35+
run: dotnet build SharpCoreDB.sln -c Release --no-restore

0 commit comments

Comments
 (0)