You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/dotnet.yml
+21-28Lines changed: 21 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ on:
6
6
pull_request:
7
7
branches: [ main ]
8
8
9
-
9
+
10
10
# Allows you to run this workflow manually from the Actions tab
11
11
workflow_dispatch:
12
12
@@ -16,31 +16,24 @@ jobs:
16
16
runs-on: ubuntu-latest
17
17
18
18
steps:
19
+
20
+
- uses: actions/checkout@v3
21
+
- name: Setup .NET
22
+
uses: actions/setup-dotnet@v3
23
+
with:
24
+
dotnet-version: 7.0.x
19
25
20
-
- uses: actions/checkout@v2
21
-
- name: Setup .NET
22
-
uses: actions/setup-dotnet@v1
23
-
with:
24
-
dotnet-version: 6.0.x
25
-
26
-
# run build and test
27
-
- name: Restore dependencies
28
-
run: dotnet restore
29
-
- name: Build
30
-
run: dotnet build --no-restore
31
-
- name: Test
32
-
run: dotnet test --no-build --logger 'trx;LogFileName=test-results.trx'
33
-
- name: Collect Code Coverage
34
-
run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=ManagedCode.Communication.Tests/lcov.info
0 commit comments