mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-09 14:45:58 +01:00
04e001fc16
Bumps [easimon/maximize-build-space](https://github.com/easimon/maximize-build-space) from 9 to 10. - [Release notes](https://github.com/easimon/maximize-build-space/releases) - [Changelog](https://github.com/easimon/maximize-build-space/blob/master/CHANGELOG.md) - [Commits](https://github.com/easimon/maximize-build-space/compare/v9...v10) --- updated-dependencies: - dependency-name: easimon/maximize-build-space dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
name: "Validate flake & check documentation"
|
|
on:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- docs/**
|
|
jobs:
|
|
flake-docs-check:
|
|
name: Validate Flake Documentation
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
package:
|
|
- docs
|
|
- docs-html
|
|
- docs-manpages
|
|
- docs-json
|
|
steps:
|
|
- uses: easimon/maximize-build-space@v10
|
|
with:
|
|
overprovision-lvm: true
|
|
remove-android: true
|
|
remove-dotnet: true
|
|
remove-haskell: true
|
|
|
|
- name: Install Nix
|
|
uses: DeterminateSystems/nix-installer-action@main
|
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
|
|
- uses: actions/checkout@v4
|
|
name: Checkout
|
|
|
|
- name: Set default git branch (to reduce log spam)
|
|
run: git config --global init.defaultBranch main
|
|
|
|
- name: Build documentation packages
|
|
run: nix build .#${{ matrix.package }} --print-build-logs
|
|
|
|
- name: Upload doc artifacts
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: doc
|
|
path: result/share/doc/neovim-flake/
|