Skip to content

chore(deps): bump actions/checkout from 5 to 6 #62

chore(deps): bump actions/checkout from 5 to 6

chore(deps): bump actions/checkout from 5 to 6 #62

Workflow file for this run

name: "CI"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
flake-check:
name: "Flake Check"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout repository"
uses: "actions/checkout@v6"
- name: "Install Nix"
uses: "cachix/install-nix-action@v31"
with:
extra_nix_config: |
experimental-features = nix-command flakes
substituters = https://cache.nixos.org https://cache.flox.dev https://devenv.cachix.org
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs= devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=
- name: "Run flake check"
run: "nix flake check"
neovim-test:
name: "Neovim test"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout repository"
uses: "actions/checkout@v6"
- name: "Install Nix"
uses: "cachix/install-nix-action@v31"
with:
extra_nix_config: |
experimental-features = nix-command flakes
substituters = https://cache.nixos.org https://cache.flox.dev https://devenv.cachix.org
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs= devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=
- name: "Build Neovim configuration"
id: "build-neovim"
run: |
# Build once and capture the output path for reuse in tests
NVIM_PATH=$(nix build .#homeConfigurations.floki.config.programs.neovim.finalPackage --accept-flake-config --no-link --print-out-paths --print-build-logs)
echo "path=$NVIM_PATH" >> $GITHUB_OUTPUT
- name: "Run Neovim test suite"
run: |
# Export the built Neovim to PATH so tests use our custom configuration
# The devShell has BATS but not our homeConfiguration's neovim
# We reuse the Neovim path from the previous build step (no duplicate build)
# Neovim is wrapped with all required tools (rg, fd, lazygit, ncurses) via extraPackages
export PATH="${{ steps.build-neovim.outputs.path }}/bin:$PATH"
nix develop --command bats scripts/test-neovim.sh