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