Skip to content

feat(monad): introduce bind extensions for result initialization #45

feat(monad): introduce bind extensions for result initialization

feat(monad): introduce bind extensions for result initialization #45

Workflow file for this run

name: Pull Request Build
on:
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build-and-test:
name: Build solution and run tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET Core latest
uses: actions/setup-dotnet@v4
with:
source-url: https://nuget.pkg.github.com/draekien/index.json
dotnet-version: "8.0.x"
env:
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: dotnet restore
- name: Build solution
run: dotnet build --configuration Release --no-restore
- name: Run all tests
run: dotnet test --no-restore --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
- name: Upload test results to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}