Skip to content

Update build

Update build #321

Workflow file for this run

name: Build and Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.200
- name: Setup dotnet tools
run: dotnet tool restore
- name: Install dependencies
run: dotnet restore
- name: Check formatting
run: dotnet fantomas -r --check .
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: ./test.sh
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.lcov
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true