Skip to content

Merge pull request #93 from mhutch/update-actions #242

Merge pull request #93 from mhutch/update-actions

Merge pull request #93 from mhutch/update-actions #242

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
config: [ Debug ]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # GitVersioning needs deep clone
submodules: recursive
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
- name: Restore
run: dotnet restore MonoDevelop.Xml.sln
- name: Build
run: dotnet build MonoDevelop.Xml.sln -c ${{ matrix.config }} --no-restore
- name: Test
run: dotnet test -c ${{ matrix.config }} --no-build