Skip to content

More tasks

More tasks #46

Workflow file for this run

name: CI
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: Restore
run: dotnet restore
- name: Install tools
run: |
dotnet tool install -g dotnet-fantomas
dotnet tool install -g dotnet-fsharplint
- name: Format check
run: dotnet fantomas . --check
- name: Lint
run: dotnet-fsharplint lint FLPQ.slnx
- name: Build
run: dotnet build FLPQ.slnx -c Debug --no-restore
- name: Test
run: dotnet test --no-build -c Debug