Skip to content

CI feat: upgrade to dotnet 10.0 #7

CI feat: upgrade to dotnet 10.0

CI feat: upgrade to dotnet 10.0 #7

Workflow file for this run

name: CI
run-name: CI ${{ github.event.pull_request.title }}
on:
pull_request:
jobs:
ci-build:
name: Build & Test ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
defaults:
run:
working-directory: ./src/Confix.Tool
steps:
- uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.0.x
9.0.x
10.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build
- name: Test
run: dotnet test
- name: Upload snapshot mismatches
if: failure()
uses: actions/upload-artifact@v4
with:
name: snapshot-mismatches-${{ matrix.os }}
path: ./**/test/**/__mismatch__/**
if-no-files-found: ignore