Skip to content

Commit a566634

Browse files
Create dotnet-core.yml
1 parent b8731e1 commit a566634

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/dotnet-core.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: .NET Core
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Setup .NET Core
17+
uses: actions/setup-dotnet@v1
18+
with:
19+
dotnet-version: 3.1.301
20+
- name: Install dependencies
21+
run: dotnet restore
22+
- name: Build
23+
run: dotnet build --configuration Release --no-restore
24+
- name: Test
25+
run: dotnet test --no-restore --verbosity normal

Readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# System.Text.Json.Extensions
22

3+
[![.NET Core build](https://github.com/TheConstructor/System.Text.Json.Extensions/workflows/.NET%20Core/badge.svg)](https://github.com/TheConstructor/System.Text.Json.Extensions/actions?query=workflow%3A%22.NET+Core%22)
4+
35
This project tries to collect some extensions and converters that ease the usage of `System.Text.Json`.

0 commit comments

Comments
 (0)