File tree Expand file tree Collapse file tree 2 files changed +56
-15
lines changed Expand file tree Collapse file tree 2 files changed +56
-15
lines changed Original file line number Diff line number Diff line change 4
4
# yamllint enable rule:line-length
5
5
6
6
---
7
- name : dotNET Coverage
7
+ name : dotNET Tests
8
8
9
9
on : # yamllint disable-line rule:truthy
10
10
push :
@@ -15,26 +15,24 @@ on: # yamllint disable-line rule:truthy
15
15
workflow_dispatch :
16
16
17
17
jobs :
18
- coverage :
19
- name : " Run Coverage "
18
+ lint :
19
+ name : " Run LINT "
20
20
strategy :
21
21
fail-fast : false
22
22
matrix :
23
- os : ["windows-2025"]
23
+ os : ["windows-2022", "windows-2025", "ubuntu-24.04", "macos-14"]
24
+ dotnet-version : [8.x, 9.x]
24
25
runs-on : ${{ matrix.os }}
25
26
steps :
26
27
- uses : actions/checkout@v4
27
- - name : Setup .NET
28
+ - name : Setup .NET ${{ matrix.dotnet-version }}
28
29
uses : actions/setup-dotnet@v4
29
30
with :
30
- dotnet-version : 8.0.x
31
+ dotnet-version : ${{ matrix.dotnet-version }}
32
+ - name : Tooling check
33
+ run : >
34
+ dotnet --version
31
35
- name : Restore dependencies
32
- run : dotnet restore --verbosity normal
33
- - name : Build
34
- run : dotnet build --no-restore --verbosity normal
35
- - name : Test
36
- run : dotnet test --no-build --verbosity normal
37
- - name : Upload coverage reports to Codecov
38
- uses : codecov/codecov-action@v5.4.2
39
- with :
40
- token : ${{ secrets.CODECOV_TOKEN }}
36
+ run : dotnet restore
37
+ - name : Lint (codestyle)
38
+ run : dotnet format --verify-no-changes --verbosity normal
Original file line number Diff line number Diff line change
1
+ # yamllint disable rule:line-length
2
+ # This workflow will build a .NET project
3
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
4
+ # yamllint enable rule:line-length
5
+
6
+ ---
7
+ name : dotNET Tests
8
+
9
+ on : # yamllint disable-line rule:truthy
10
+ push :
11
+ branches : ["main"]
12
+ pull_request :
13
+ # The branches below must be a subset of the branches above
14
+ branches : ["main"]
15
+ workflow_dispatch :
16
+
17
+ jobs :
18
+ test :
19
+ name : " Run Tests"
20
+ strategy :
21
+ fail-fast : false
22
+ matrix :
23
+ os : ["windows-2022", "windows-2025", "ubuntu-24.04", "macos-14"]
24
+ dotnet-version : [8.x, 9.x]
25
+ runs-on : ${{ matrix.os }}
26
+ steps :
27
+ - uses : actions/checkout@v4
28
+ - name : Setup .NET ${{ matrix.dotnet-version }}
29
+ uses : actions/setup-dotnet@v4
30
+ with :
31
+ dotnet-version : ${{ matrix.dotnet-version }}
32
+ - name : Tooling check
33
+ run : >
34
+ dotnet --version
35
+ - name : Restore dependencies
36
+ run : dotnet restore
37
+ - name : Build
38
+ run : dotnet build --no-restore
39
+ - name : Test
40
+ run : >
41
+ dotnet test --no-build
42
+ --verbosity normal
43
+ --logger "console;verbosity=detailed"
You can’t perform that action at this time.
0 commit comments