Skip to content

chore: target dotnet 9 and drop support for dotnet 6 and 7 (#101) #107

chore: target dotnet 9 and drop support for dotnet 6 and 7 (#101)

chore: target dotnet 9 and drop support for dotnet 6 and 7 (#101) #107

name: Build, validate formatting and run tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
format-and-build-and-test:
runs-on: ubuntu-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@main
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.x'
- name: Restore dotnet tools
run: dotnet tool restore
- name: Validate formatting
run: dotnet csharpier --check .
- name: Build BlazorReports
run: dotnet build
- name: Run tests
run: dotnet test