nvf/.github/workflows/cachix.yml
dependabot[bot] 2f02c47c1b
ci: bump cachix/cachix-action from 15 to 16 (#703)
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 15 to 16.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v15...v16)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-10 21:37:32 +00:00

52 lines
1.2 KiB
YAML

name: "Set up binary cache"
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- .github/**
- assets/**
- .gitignore
jobs:
cachix:
runs-on: ubuntu-latest
strategy:
matrix:
package:
- default
- nix
- maximal
steps:
- uses: easimon/maximize-build-space@v10
name: Maximize build space
with:
overprovision-lvm: true
remove-android: true
remove-dotnet: true
remove-haskell: true
remove-codeql: true
- uses: actions/checkout@v4
name: Checkout
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: cachix/cachix-action@v16
with:
authToken: ${{ secrets.CACHIX_TOKEN }}
extraPullNames: nix-community
name: neovim-flake
- name: Set default git branch (to reduce log spam)
run: git config --global init.defaultBranch main
- name: Validate Flakes
run: nix flake check
- name: Build neovim-flake with default settings
run: nix build .#${{ matrix.package }} --print-build-logs