Create build_test.yml

This commit is contained in:
Miku-666
2022-07-29 20:36:17 +02:00
committed by GitHub
parent 2ccef30b1c
commit 695295f3b8

23
.github/workflows/build_test.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: .NET
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal