Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorLeitwolf112026-10-03 16:35:42 +0300
committerLeitwolf112026-10-03 16:35:42 +0300
commit228d8a82bc8e572f9a77fa327882d96e53fb362c (patch)
tree52a16cb40917c065f0143dba423d01de8902a96a /.github
parent4c803fe10d3120a7dc7f594a1fb2eb205eca34fc (diff)
parentfe06570c56a29e469fef9e8b42b4dbe6031cbfb4 (diff)
downloadprogmaweb-chore/ai-crawler-rules.tar.gz
Merge remote-tracking branch 'origin/main' into chore/ai-crawler-ruleschore/ai-crawler-rules
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/backend.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index 173c5c6..a1f6320 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -11,6 +11,8 @@ on:
- "apps/api-tests/**"
- "Directory.Build.props"
- "Progmaweb.slnx"
+ - "docs/api/**"
+ - ".config/dotnet-tools.json"
- ".github/workflows/backend.yml"
pull_request:
paths:
@@ -18,6 +20,8 @@ on:
- "apps/api-tests/**"
- "Directory.Build.props"
- "Progmaweb.slnx"
+ - "docs/api/**"
+ - ".config/dotnet-tools.json"
- ".github/workflows/backend.yml"
workflow_dispatch:
@@ -43,6 +47,11 @@ jobs:
- run: dotnet build Progmaweb.slnx --configuration Release --no-restore
- run: dotnet test --project apps/api-tests/Progmaweb.Api.Tests.csproj --configuration Release --no-build --coverlet --coverlet-output-format cobertura
+ # Documentation gate: DocFX reads the API project and builds the
+ # reference; an unresolved reference or a broken link is an error.
+ - run: dotnet tool restore
+ - run: dotnet docfx docs/api/docfx.json --warningsAsErrors
+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: progmaweb-backend-coverage