Skip to content

Commit 3d1f035

Browse files
authored
Merge branch 'master' into feature/issue-40
2 parents 5a5662f + ccafe89 commit 3d1f035

File tree

6 files changed

+80
-18
lines changed

6 files changed

+80
-18
lines changed

.github/stale.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 90
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 30
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- pinned
8+
- security
9+
- bug
10+
# Label to use when marking an issue as stale
11+
staleLabel: stale
12+
# Comment to post when marking an issue as stale. Set to `false` to disable
13+
markComment: >
14+
This issue has been automatically marked as stale because it has not had
15+
recent activity. After 30 days from now, it will be closed if no further
16+
activity occurs. Thank you for your contributions.
17+
# Comment to post when closing a stale issue. Set to `false` to disable
18+
closeComment: false

.github/workflows/dotnet.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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)

.github/workflows/rebase.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: rebase
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
7+
jobs:
8+
rebase:
9+
name: Rebase
10+
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@master
14+
with:
15+
fetch-depth: 0
16+
- name: Automatic Rebase
17+
uses: cirrus-actions/[email protected]
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
# https://github.community/t5/GitHub-Actions/Workflow-is-failing-if-no-job-can-be-ran-due-to-condition/m-p/38186#M3250
21+
always_job:
22+
name: Always run job
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Always run
26+
run: echo "This job is used to prevent the workflow to fail when all other jobs are skipped."

.travis.yml

-14
This file was deleted.

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
A [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

99
This 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

test/json-ld.net.tests/json-ld.net.tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<PackageReference Include="coverlet.msbuild" Version="2.3.1" />
2424
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
2525
<PackageReference Include="xunit" Version="2.3.1" />
26-
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
26+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
2727
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
2828
</ItemGroup>
2929

0 commit comments

Comments
 (0)