Create dotnet.yml

This tests if the program still runs and does not fail to build
This commit is contained in:
FUH22860 2023-06-24 16:20:22 +02:00 committed by GitHub
parent fced97beb0
commit 59ff664ffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,23 @@
name: Test if program still runs
on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.107
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore