From 59ff664ffec3ab1fabd768ffd094aaa1512f606b Mon Sep 17 00:00:00 2001 From: FUH22860 <101731147+FUH22860@users.noreply.github.com> Date: Sat, 24 Jun 2023 16:20:22 +0200 Subject: [PATCH] Create dotnet.yml This tests if the program still runs and does not fail to build --- .github/workflows/dotnet.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/dotnet.yml diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 0000000..08d2be8 --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -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