refactor: Remove pipeline abstraction (#144) #364
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 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@v4 | |
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@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./coverage.lcov | |
flags: unittests | |
name: codecov-umbrella | |
fail_ci_if_error: true |