Skip to content

Commit 1a677e2

Browse files
committed
Setup GitHub Actions workflows
1 parent 65068ac commit 1a677e2

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.github/workflows/dotnet-core.yml

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

Dynamic.Json.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1111
ProjectSection(SolutionItems) = preProject
1212
.editorconfig = .editorconfig
1313
Directory.Build.targets = Directory.Build.targets
14+
.github\workflows\dotnet-core.yml = .github\workflows\dotnet-core.yml
1415
EndProjectSection
1516
EndProject
1617
Global

0 commit comments

Comments
 (0)