Skip to content

CI 🔍 Update target frameworks and package versions for .NET 10 support #1

CI 🔍 Update target frameworks and package versions for .NET 10 support

CI 🔍 Update target frameworks and package versions for .NET 10 support #1

Workflow file for this run

name: CI
run-name: CI 🔍 ${{ github.event.pull_request.title }}
on:
pull_request:
concurrency:
group: ci-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest
name: Tests dotnet ${{ matrix.dotnet-version }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
dotnet-version: [10]
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
submodules: true
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Build projects
shell: bash
run: dotnet build ./all.csproj -f net${{ matrix.dotnet-version }}.0
- name: Check for breaking API changes
shell: bash
run: dotnet build src/Yamlify/Yamlify.csproj --no-restore -warnaserror:RS0016,RS0017
- name: Run tests
shell: bash
run: dotnet test ./all.csproj /p:BuildTestsOnly=true --no-build -f net${{ matrix.dotnet-version }}.0 -- RunConfiguration.MaxCpuCount=1