Clean yaml validator false positive output #1752
Workflow file for this run
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
# CI workflow for PRs and merges to master | |
name: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.os == 'ubuntu-latest' }} | |
strategy: | |
matrix: | |
os: [windows-latest, macos-latest, ubuntu-latest] | |
env: | |
DOTNET_NOLOGO: true | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
7.0.x | |
8.0.x | |
- run: dotnet --info | |
- name: Build (win) | |
run: ./build ci | |
shell: cmd | |
if: ${{ runner.os == 'Windows' }} | |
## Only difference here is not forcing cmd | |
- name: Build (ubuntu & macos) | |
run: ./build ci | |
if: ${{ runner.os != 'Windows' }} | |
- name: Test - Persistence | |
run: dotnet bin/Debug/Persistence.Tests/Persistence.Tests.dll | |
- name: Test - PAModel | |
run: dotnet bin/Debug/PAModelTests/PAModelTests.dll | |
- name: Restore workloads for samples | |
run: dotnet workload restore samples/MauiMsApp/MauiMsApp.csproj | |
- name: Install maui-tizen workload | |
run: dotnet workload install maui-tizen | |
- name: Build samples | |
run: dotnet build samples/samples.sln | |
if: ${{ runner.os == 'Windows' }} |