Skip to content

Commit 7761ec0

Browse files
Merge pull request #42 from bjornhellander/feature/workflow
Improve GitHub workflow
2 parents 0ad5ea0 + e2074dd commit 7761ec0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
matrix:
1616
configuration: [ 'Debug', 'Release' ]
1717
os: [ 'windows-latest' ]
18+
test: [ 'Test', 'Test.CSharp7', 'Test.CSharp8', 'Test.CSharp9', 'Test.CSharp10', 'Test.CSharp11', 'Test.CSharp12', 'Test.CSharp13', 'Test.CSharp14' ]
1819
fail-fast: false
1920

2021
runs-on: ${{ matrix.os }}
@@ -24,10 +25,10 @@ jobs:
2425
run: git config --system core.longpaths true
2526

2627
- name: Checkout code
27-
uses: actions/checkout@v4
28+
uses: actions/checkout@v5
2829

2930
- name: Setup .NET
30-
uses: actions/setup-dotnet@v4
31+
uses: actions/setup-dotnet@v5
3132

3233
- name: Build & Test
33-
run: dotnet test StyleCopAnalyzers.sln -c ${{matrix.configuration}} --verbosity normal
34+
run: dotnet test StyleCop.Analyzers/StyleCop.Analyzers.${{matrix.test}}/StyleCop.Analyzers.${{matrix.test}}.csproj -c ${{matrix.configuration}} --verbosity normal

0 commit comments

Comments
 (0)