Bump FluentAssertions from 6.12.0 to 6.12.1 #71
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: Main | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
main: | |
runs-on: ${{ matrix.environment }} | |
strategy: | |
matrix: | |
environment: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
fail-fast: false | |
# noinspection SpellCheckingInspection | |
env: | |
DOTNET_NOLOGO: 1 | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
NUGET_PACKAGES: ${{ github.workspace }}/.github/nuget-packages | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up .NET SDK | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '3.1.x' | |
- name: Cache NuGet packages | |
uses: actions/cache@v3 | |
with: | |
path: ${{ env.NUGET_PACKAGES }} | |
key: ${{ runner.os }}.nuget.${{ hashFiles('**/*.*proj') }} | |
- name: Restore NuGet packages | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Install ReportGenerator tool | |
run: dotnet tool install --global dotnet-reportgenerator-globaltool | |
- name: Test | |
run: dotnet test --no-restore --no-build --nologo --collect:"XPlat Code Coverage" | |
- name: Generate coverage report | |
run: reportgenerator -reports:**/coverage.cobertura.xml -targetdir:TestResults/ -reporttypes:Cobertura | |
- name: Upload coverage report to Codecov | |
uses: codecov/[email protected] | |
with: | |
files: TestResults/Cobertura.xml | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: y0ung3r/OfficeFlow |