Skip to content

Small Refactoring

Small Refactoring #24

Workflow file for this run

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/