Files
Nim/.github/workflows/ci_docs.yml
dependabot[bot] 5ea198faf3 Bump crazy-max/ghaction-github-pages from 4 to 5 (#25578)
Bumps
[crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages)
from 4 to 5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/crazy-max/ghaction-github-pages/releases">crazy-max/ghaction-github-pages's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.0</h2>
<ul>
<li>Node 24 as default runtime (requires <a
href="https://github.com/actions/runner/releases/tag/v2.327.1">Actions
Runner v2.327.1</a> or later) by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/pull/251">crazy-max/ghaction-github-pages#251</a></li>
<li>Switch to ESM and update config wiring by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/pull/250">crazy-max/ghaction-github-pages#250</a></li>
<li>Bump <code>@​actions/core</code> from 1.11.1 to 3.0.0 in <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/pull/252">crazy-max/ghaction-github-pages#252</a></li>
<li>Bump <code>@​actions/exec</code> from 1.1.1 to 3.0.0 in <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/pull/246">crazy-max/ghaction-github-pages#246</a></li>
<li>Bump brace-expansion from 1.1.11 to 1.1.12 in <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/pull/237">crazy-max/ghaction-github-pages#237</a></li>
<li>Bump fs-extra from 11.3.0 to 11.3.3 in <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/pull/247">crazy-max/ghaction-github-pages#247</a></li>
<li>Bump js-yaml from 4.1.0 to 4.1.1 in <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/pull/242">crazy-max/ghaction-github-pages#242</a></li>
<li>Bump minimatch from 3.1.2 to 3.1.5 in <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/pull/249">crazy-max/ghaction-github-pages#249</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/crazy-max/ghaction-github-pages/compare/v4.2.0...v5.0.0">https://github.com/crazy-max/ghaction-github-pages/compare/v4.2.0...v5.0.0</a></p>
<h2>v4.2.0</h2>
<ul>
<li>Bump cross-spawn from 7.0.3 to 7.0.6 in <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/pull/231">crazy-max/ghaction-github-pages#231</a></li>
<li>Bump fs-extra from 11.2.0 to 11.3.0 in <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/pull/233">crazy-max/ghaction-github-pages#233</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/crazy-max/ghaction-github-pages/compare/v4.1.0...v4.2.0">https://github.com/crazy-max/ghaction-github-pages/compare/v4.1.0...v4.2.0</a></p>
<h2>v4.1.0</h2>
<ul>
<li>Bump <code>@​actions/core</code> from 1.10.0 to 1.11.1 in <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/pull/229">crazy-max/ghaction-github-pages#229</a></li>
<li>Bump braces from 3.0.2 to 3.0.3 in <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/pull/225">crazy-max/ghaction-github-pages#225</a></li>
<li>Bump fs-extra from 11.1.1 to 11.2.0 in <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/pull/221">crazy-max/ghaction-github-pages#221</a></li>
<li>Bump ip from 2.0.0 to 2.0.1 in <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/pull/220">crazy-max/ghaction-github-pages#220</a></li>
<li>Bump micromatch from 4.0.5 to 4.0.8 in <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/pull/227">crazy-max/ghaction-github-pages#227</a></li>
<li>Bump tar from 6.1.14 to 6.2.1 in <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/pull/222">crazy-max/ghaction-github-pages#222</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/crazy-max/ghaction-github-pages/compare/v4.0.0...v4.1.0">https://github.com/crazy-max/ghaction-github-pages/compare/v4.0.0...v4.1.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="1d6ee9b181"><code>1d6ee9b</code></a>
Merge pull request <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/issues/252">#252</a>
from crazy-max/dependabot/npm_and_yarn/actions/core-3...</li>
<li><a
href="26956ffd3c"><code>26956ff</code></a>
chore: update generated content</li>
<li><a
href="2627782b16"><code>2627782</code></a>
build(deps): bump <code>@​actions/core</code> from 1.11.1 to 3.0.0</li>
<li><a
href="f8e352d0cb"><code>f8e352d</code></a>
Merge pull request <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/issues/251">#251</a>
from crazy-max/node24</li>
<li><a
href="709db507ec"><code>709db50</code></a>
node 24 as default runtime</li>
<li><a
href="7e3c57de89"><code>7e3c57d</code></a>
Merge pull request <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/issues/247">#247</a>
from crazy-max/dependabot/npm_and_yarn/fs-extra-11.3.3</li>
<li><a
href="ba0b3631bd"><code>ba0b363</code></a>
chore: update generated content</li>
<li><a
href="b14d0fb11d"><code>b14d0fb</code></a>
build(deps): bump fs-extra from 11.3.0 to 11.3.3</li>
<li><a
href="01d0e18e28"><code>01d0e18</code></a>
Merge pull request <a
href="https://redirect.github.com/crazy-max/ghaction-github-pages/issues/237">#237</a>
from crazy-max/dependabot/npm_and_yarn/brace-expansio...</li>
<li><a
href="3e82042fff"><code>3e82042</code></a>
build(deps): bump brace-expansion from 1.1.11 to 1.1.12</li>
<li>Additional commits viewable in <a
href="https://github.com/crazy-max/ghaction-github-pages/compare/v4...v5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=crazy-max/ghaction-github-pages&package-manager=github_actions&previous-version=4&new-version=5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 16:12:30 +08:00

117 lines
3.2 KiB
YAML

name: Nim Docs CI
on:
push:
paths:
- 'compiler/**.nim'
- 'config/nimdoc.cfg'
- 'doc/**.rst'
- 'doc/**.md'
- 'doc/nimdoc.css'
- 'lib/**.nim'
- 'nimdoc/testproject/expected/testproject.html'
- 'tools/dochack/dochack.nim'
- 'tools/kochdocs.nim'
- '.github/workflows/ci_docs.yml'
- 'koch.nim'
pull_request:
# Run only on changes on these files.
paths:
- 'compiler/**.nim'
- 'config/nimdoc.cfg'
- 'doc/**.rst'
- 'doc/**.md'
- 'doc/nimdoc.css'
- 'lib/**.nim'
- 'nimdoc/testproject/expected/testproject.html'
- 'tools/dochack/dochack.nim'
- 'tools/kochdocs.nim'
- '.github/workflows/ci_docs.yml'
- 'koch.nim'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
matrix:
target: [linux, windows, osx]
include:
- target: linux
os: ubuntu-22.04
- target: windows
os: windows-latest
- target: osx
os: macos-15
name: ${{ matrix.target }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60 # refs bug #18178
steps:
- name: 'Checkout'
uses: actions/checkout@v6
with:
fetch-depth: 2
- name: 'Install build dependencies (macOS)'
if: runner.os == 'macOS'
run: brew install make
- name: 'Install build dependencies (Windows)'
if: runner.os == 'Windows'
shell: bash
run: |
set -e
. ci/funs.sh
nimInternalInstallDepsWindows
echo "${{ github.workspace }}/dist/mingw64/bin" >> "${GITHUB_PATH}"
- name: 'Add build binaries to PATH'
shell: bash
run: echo "${{ github.workspace }}/bin" >> "${GITHUB_PATH}"
- name: 'System information'
shell: bash
run: . ci/funs.sh && nimCiSystemInfo
- name: 'Build csourcesAny (posix)'
# this would work on windows and other CI use this on windows,
# but we ensure here that `ci/build_autogen.bat` keeps working on windows.
if: runner.os != 'Windows'
shell: bash
run: . ci/funs.sh && nimBuildCsourcesIfNeeded CC=gcc
# was previously using caching via `actions/cache@v1` but this wasn't
# used in other CI pipelines and it's unclear the added complexity
# was worth the saving; can be revisited if needed.
- name: 'Build csourcesAny (windows)'
if: runner.os == 'Windows'
shell: cmd
run: ci/build_autogen.bat
- name: 'Build koch'
shell: bash
run: nim c koch
- name: 'Build the real compiler'
shell: bash
run: ./koch boot -d:release
- name: 'Build documentation'
shell: bash
run: ./koch doc --git.commit:devel
- name: 'Publish documentation to Github Pages'
if: |
github.event_name == 'push' && github.ref == 'refs/heads/devel' &&
matrix.target == 'linux'
uses: crazy-max/ghaction-github-pages@v5
with:
build_dir: doc/html
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}