Skip to content

Commit c8c5591

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Github Actions] lint and test actions splitted
1 parent 8e890b5 commit c8c5591

File tree

2 files changed

+13
-17
lines changed

2 files changed

+13
-17
lines changed

.github/workflows/dotnet-coverage.yml renamed to .github/workflows/dotnet-lint.yml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# yamllint enable rule:line-length
55

66
---
7-
name: dotNET Coverage
7+
name: dotNET Tests
88

99
on: # yamllint disable-line rule:truthy
1010
push:
@@ -15,26 +15,24 @@ on: # yamllint disable-line rule:truthy
1515
workflow_dispatch:
1616

1717
jobs:
18-
coverage:
19-
name: "Run Coverage"
18+
lint:
19+
name: "Run LINT"
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
os: ["windows-2025"]
23+
os: ["windows-2022", "windows-2025", "ubuntu-24.04", "macos-14"]
24+
dotnet-version: [8.x, 9.x]
2425
runs-on: ${{ matrix.os }}
2526
steps:
2627
- uses: actions/checkout@v4
27-
- name: Setup .NET
28+
- name: Setup .NET ${{ matrix.dotnet-version }}
2829
uses: actions/setup-dotnet@v4
2930
with:
30-
dotnet-version: 8.0.x
31+
dotnet-version: ${{ matrix.dotnet-version }}
32+
- name: Tooling check
33+
run: >
34+
dotnet --version
3135
- 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/[email protected]
39-
with:
40-
token: ${{ secrets.CODECOV_TOKEN }}
36+
run: dotnet restore
37+
- name: Lint (codestyle)
38+
run: dotnet format --verify-no-changes --verbosity normal

.github/workflows/dotnet.yml renamed to .github/workflows/dotnet-test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ jobs:
3636
run: dotnet restore
3737
- name: Build
3838
run: dotnet build --no-restore
39-
- name: Lint (codestyle)
40-
run: dotnet format --verify-no-changes --verbosity normal
4139
- name: Test
4240
run: >
4341
dotnet test --no-build

0 commit comments

Comments
 (0)