Skip to content

Implement TextAlignment property #48

Implement TextAlignment property

Implement TextAlignment property #48

Workflow file for this run

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