Skip to content

Commit 54c8eca

Browse files
authored
Create push_build_and_test.yml
Adds basic build and test buid pipeline
1 parent 09dfc4b commit 54c8eca

File tree

1 file changed

+22
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)