8000 add github-workflow · dotdevelop/libgit2sharp@a7d5894 · GitHub
[go: up one dir, main page]

Skip to content

Commit a7d5894

Browse files
committed
add github-workflow
1 parent f2889c7 commit a7d5894

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/libgit2sharp.yml

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

0 commit comments

Comments
 (0)
0