Unit 1: build infra — resolve CI conflict, bump flake to nixos-25.05, modernize shell#3
Open
stradichenko wants to merge 1 commit intomainfrom
Open
Unit 1: build infra — resolve CI conflict, bump flake to nixos-25.05, modernize shell#3stradichenko wants to merge 1 commit intomainfrom
stradichenko wants to merge 1 commit intomainfrom
Conversation
- Resolve unresolved git merge-conflict markers in .github/workflows/test.yml. - Bump flake nixpkgs to nixos-25.05 (Hugo 0.147.3). Run nix flake update. - Add nixpkgs-fmt formatter and a checks.build entry. Switch dev shell to mkShellNoCC. Add prettier, eslint, stylelint(+config-standard), golangci-lint, dart-sass, pagefind, python3 to the dev shell. - Bump CI Hugo to 0.147.3. - theme.toml: keep min_version = 0.136.0 so consumers on slightly older Hugo still install; templates limit themselves to <= 0.136 features. - Delete host-mutating test-hugo-theme.sh. - validate-theme.sh: shebang fix, set -euo pipefail, fix legacy config.toml filename and unescaped regex dot. Now a thin wrapper around nix flake check.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/test.ymlthat were breaking CI.nixpkgstonixos-25.05(Hugo 0.147.3) and refreshflake.lock. Keeptheme.toml min_version = "0.136.0"so consumers on slightly older Hugo still install — templates limit themselves to features available there.mkShellNoCC, addformatter(nixpkgs-fmt) andchecks.build, and addprettier,eslint,stylelint(+config-standard),golangci-lint,dart-sass,pagefind,python3topackages. Bump CI Hugo to0.147.3. Delete host-mutatingtest-hugo-theme.sh. Hardenvalidate-theme.sh(set -euo pipefail, fix legacyconfig.tomlpath, fix unescaped regex dot).Test plan
nix flake checkexits 0 inside the worktree.nix develop -c hugo versionreports 0.147.3.actionlint(orgh workflow view) accepts both workflows.Part of the PKB-theme modernization batch (15 units).