remove fantomas due to .NET CLI bug in .NET 9 GA release #668
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: Build for multiple SDK versions | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
# Builds for Ubuntu, Windows, and macOS | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
# setup .NET SDK | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
global-json-file: 'global.json' | |
dotnet-version: | | |
8.x | |
9.x | |
# let's make sure we're on the version we think we are. | |
- name: Announce .NET version | |
continue-on-error: true | |
run: dotnet --info | |
- name: Restore tools | |
run: dotnet tool restore | |
- name: Run build and test | |
run: dotnet run --project build | |
- name: Archive test results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test-results | |
path: test/**/TestResults/*.trx |