File tree Expand file tree Collapse file tree 3 files changed +35
-17
lines changed Expand file tree Collapse file tree 3 files changed +35
-17
lines changed Original file line number Diff line number Diff line change 1+ name : dotnet
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v2
15+
16+ - name : Setup .NET Core
17+ uses : actions/setup-dotnet@v1
18+ with :
19+ dotnet-version : 2.1.401
20+
21+ - name : Install dependencies
22+ run : dotnet restore
23+
24+ - name : Build
25+ run : dotnet build --configuration Release --no-restore
26+
27+ - name : Test
28+ run : dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[JsonLD.Test*]*"
29+
30+ - name : Codecov
31+ env :
32+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
33+ run : bash <(curl -s https://codecov.io/bash)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33A [ JSON-LD] [ jsonld ] processor for .NET.
44
55[ ![ NuGet] [ nuget-badge ]] [ nuget ]
6- [ ![ Build Status] [ travis -badge]] [ travis ]
6+ ![ Build Status] [ gha -badge]
77[ ![ codecov] [ codecov-badge ]] [ codecov ]
88
99This project has adopted the [ Microsoft Open Source Code of Conduct] [ coc ] .
@@ -49,5 +49,4 @@ This project began life as a [Sharpen][sharpen]-based auto-port from
4949 [ dnc-tutorial ] : https://www.microsoft.com/net/core
5050 [ codecov ] : https://codecov.io/gh/linked-data-dotnet/json-ld.net
5151 [ codecov-badge ] : https://img.shields.io/codecov/c/github/linked-data-dotnet/json-ld.net/master.svg
52- [ travis ] : https://travis-ci.org/linked-data-dotnet/json-ld.net
53- [ travis-badge ] : https://img.shields.io/travis/linked-data-dotnet/json-ld.net.svg
52+ [ gha-badge ] : https://github.com/linked-data-dotnet/json-ld.net/workflows/dotnet/badge.svg
You can’t perform that action at this time.
0 commit comments