1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-05 08:31:05 +01:00
Commit graph

4 commits

Author SHA1 Message Date
Matt Sturgeon
d269170e38 ci/update: refactor to produce a single lockfile commit
Refactors the flake update script to consolidate root and dev lockfile
updates into a single commit. Changes include:

- Captures and normalizes `nix flake update` output.
- Removes reliance on `--commit-lock-file` and `--amend`.
- Eliminates the need to track or compare HEAD commits manually.
- Only commit when flake.lock, flake/dev/flake.lock, or
  version-info.toml have changes.
2025-11-30 21:23:19 +00:00
Matt Sturgeon
f02d566f4c ci/update: build version-info with no-out-link
Avoid polluting the `result` symlink when building `version-info`.
2025-11-30 21:23:19 +00:00
Matt Sturgeon
8147790da9 ci/update: always cd to the root of the flake
Allows running the script from a sub-directory, e.g.

    cd ci
    nix-build -A update
    result/bin/update
2025-11-30 21:23:19 +00:00
Matt Sturgeon
2b2b1e6d8f ci: rename update-scriptsci
This changes how we think about this directory; it does not need to be
exclusively for scripts related to updates, but should be a place for
any scripts intended to be run by CI workflows.

This mindset should make it easier to develop and test the business
logic of workflows, without always needing to test "in production" on
the nixvim repo or a fork.
2025-06-15 21:23:58 +00:00
Renamed from update-scripts/update.nix (Browse further)