add basic .Net build and test GHA workflow

This commit is contained in:
h1dden-da3m0n 2020-12-15 22:03:10 +01:00
parent cba41e00a7
commit de381c1deb

32
.github/workflows/build-dotnet.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: Test Build Plugin
on:
push:
branches: [ master ]
paths-ignore:
- "**/*.md"
pull_request:
branches: [ master ]
paths-ignore:
- "**/*.md"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "Setup .NET Core"
uses: actions/setup-dotnet@v1
with:
dotnet-version: "5.0.x"
- name: "Install dependencies"
run: dotnet restore
- name: "Build"
run: dotnet build --configuration Release
- name: "Test"
run: dotnet test --no-restore --verbosity normal