From f1289fadee2000ad643bd795bd61cf72b7ea07d0 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 6 Jun 2024 14:14:53 +0200 Subject: [PATCH] misc/post-release 24.05: update workflows --- .github/workflows/update.yml | 8 ++++---- build-docs.sh | 2 +- docs/user-guide/install.md | 2 +- tests/modules/hm.nix | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 765fa7b8..9f94f036 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -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 diff --git a/build-docs.sh b/build-docs.sh index 32764514..8edda0d7 100755 --- a/build-docs.sh +++ b/build-docs.sh @@ -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 diff --git a/docs/user-guide/install.md b/docs/user-guide/install.md index 681404c6..4a5342a0 100644 --- a/docs/user-guide/install.md +++ b/docs/user-guide/install.md @@ -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. attribute not found`. diff --git a/tests/modules/hm.nix b/tests/modules/hm.nix index 90c405fd..575c91eb 100644 --- a/tests/modules/hm.nix +++ b/tests/modules/hm.nix @@ -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;