Skip to content

Bump FluentAssertions from 6.12.1 to 6.12.2 (#2394) #2165

Bump FluentAssertions from 6.12.1 to 6.12.2 (#2394)

Bump FluentAssertions from 6.12.1 to 6.12.2 (#2394) #2165

Workflow file for this run

name: github-pages
on:
push:
branches:
- main
- release/*
pull_request:
branches:
- main
- release/*
- dotnet-vnext
workflow_dispatch:
permissions:
contents: read
jobs:
build-docs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Lint Markdown files
uses: DavidAnson/markdownlint-cli2-action@eb5ca3ab411449c66620fe7f1b3c9e10547144b0 # v18.0.0
with:
config: '.markdownlint.json'
globs: |
**/*.md
!**/BenchmarkDotNet.Artifacts/**/*.md
- name: Spellcheck
uses: rojopolis/spellcheck-github-actions@403efe0642148e94ecb3515e89c767b85a32371a # v0.45.0
with:
config_path: .github/spellcheck.yml
- name: Setup .NET SDK
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0
- name: Generate documentation
env:
DOTNET_ROLL_FORWARD: LatestMajor
run: |
dotnet tool restore
dotnet build --configuration Release /p:SKIP_POLLY_ANALYZERS=true
dotnet docfx docs/docfx.json
- name: Publish documentation
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: docs
path: docs/_site
if-no-files-found: error
publish-docs:
needs: [ build-docs ]
runs-on: ubuntu-latest
if: |
github.event.repository.fork == false &&
github.ref_name == github.event.repository.default_branch
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
permissions:
contents: write
pages: write
steps:
- name: Download documentation
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: docs
path: docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs
cname: www.pollydocs.org