Small Refactoring #24
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: Continuous Integration | |
on: | |
push: | |
branches: [ "main" ] | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.gitignore' | |
- '**/*.gitattributes' | |
env: | |
DOTNET_NOLOGO: true # Disable the .NET logo | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true # Disable the .NET first time experience | |
DOTNET_CLI_TELEMETRY_OPTOUT: true # Disable sending .NET CLI telemetry | |
jobs: | |
build: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.0.x | |
- name: Install MAUI Workload | |
run: dotnet workload install maui --ignore-failed-sources | |
- name: Restore dependencies | |
run: dotnet restore | |
working-directory: src/Maui/OnScreenSizeMarkup.Maui/ | |
- name: Build | |
run: dotnet build OnScreenSizeMarkup.Maui.csproj --no-restore | |
working-directory: src/Maui/OnScreenSizeMarkup.Maui/ | |
- name: Test | |
run: dotnet test OnScreenSizeMarkup.Maui.Tests.csproj --verbosity normal | |
working-directory: src/Maui/OnScreenSizeMarkup.Maui.Tests/ |