Skip to content

Update CHANGELOG with recent documentation enhancements #369

Update CHANGELOG with recent documentation enhancements

Update CHANGELOG with recent documentation enhancements #369

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
# Skip for dependabot PRs: they have low impact on code coverage and lack access to CODECOV_TOKEN on protected branches
if: github.actor != 'dependabot[bot]'
permissions:
# Required to allow the codecov action to authenticate via OIDC instead of
# a stored secret token. The id-token: write permission lets the job request
# a short-lived OIDC token from GitHub which Codecov uses to verify the upload.
id-token: write
# Required to allow actions/checkout to read repository contents.
contents: read
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Build
run: dotnet build
- name: Test
run: |
dotnet test ConsoleMarkdownRenderer.Tests /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
dotnet test ConsoleMarkdownRenderer.ExampleTests /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
- name: Upload Code Coverage
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
with:
use_oidc: true
# No explicit files: — let codecov auto-discover the per-target-framework
# coverlet outputs (coverage.net8.0.opencover.xml / coverage.net10.0.opencover.xml)
# produced by both test projects.
name: codecov-umbrella # optional
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)