Avalonia 11.2 #784
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request | |
on: pull_request | |
env: | |
SLN_FILE: Fabulous.Avalonia.NoSamples.sln | |
CONFIG: Release | |
jobs: | |
pull_request: | |
runs-on: macos-15 | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Check code formatting | |
run: | | |
dotnet tool restore | |
dotnet fantomas . --check | |
- name: Install dotnet workload | |
run: dotnet workload restore | |
- name: Restore | |
run: dotnet restore ${SLN_FILE} | |
- name: Build | |
run: dotnet build ${SLN_FILE} -c ${CONFIG} --no-restore | |
- name: Test | |
run: dotnet test ${SLN_FILE} -c ${CONFIG} --no-build |