misc/post-release 24.05: update workflows

This commit is contained in:
Gaetan Lepage 2024-06-06 14:14:53 +02:00 committed by Gaétan Lepage
parent f02d8c95ac
commit f1289fadee
4 changed files with 7 additions and 7 deletions

View file

@ -8,7 +8,7 @@ on:
options:
- 'stable & unstable'
- 'main'
- 'nixos-23.11'
- 'nixos-24.05'
schedule:
- cron: "0 12 * * SAT" # runs weekly on Saturday at noon
@ -18,12 +18,12 @@ jobs:
matrix:
# This allows to update both stable & unstable branches, but not both when triggered
# manually
branch: ['main', 'nixos-23.11']
branch: ['main', 'nixos-24.05']
selectedBranch: ["${{ inputs.branch }}"]
exclude:
- selectedBranch: main
branch: 'nixos-23.11'
- selectedBranch: 'nixos-23.11'
branch: 'nixos-24.05'
- selectedBranch: 'nixos-24.05'
branch: main
name: Update the flake inputs and generate options
runs-on: ubuntu-latest

View file

@ -5,5 +5,5 @@ set -ex
mkdir -p docs-build
nix build github:nix-community/nixvim#docs
cp -r result/share/doc/* docs-build
nix build github:nix-community/nixvim/nixos-23.11#docs
nix build github:nix-community/nixvim/nixos-24.05#docs
cp -r result/share/doc docs-build/stable

View file

@ -5,7 +5,7 @@ You must use a `nixpkgs` version compatible with the nixvim version you choose.
The `master` branch requires to use a _very recent_ version of nixpkgs unstable.
In order to guarantee the compatibility between nixvim & nixpkgs it is recommended to always update both at the same time.
When using a `stable` version you must use the corresponding nixvim branch, for example `nixos-23.05` when using NixOS 23.05.
When using a `stable` version you must use the corresponding nixvim branch, for example `nixos-24.05` when using NixOS 24.05.
Failure to use the correct branch, or an old revision of nixpkgs will likely result in errors of the form `vimPlugins.<name> attribute not found`.

View file

@ -11,7 +11,7 @@ home-manager.lib.homeManagerConfiguration {
home.username = "nixvim";
home.homeDirectory = "/invalid/dir";
home.stateVersion = "23.05";
home.stateVersion = "24.05";
programs.nixvim = {
enable = true;