y4f/.github/workflows/dotnet.yml
FUH22860 59ff664ffe
Create dotnet.yml
This tests if the program still runs and does not fail to build
2023-06-24 16:20:22 +02:00

24 lines
415 B
YAML

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