mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-27 13:59:48 +01:00
04e001fc16
Bumps [easimon/maximize-build-space](https://github.com/easimon/maximize-build-space) from 9 to 10. - [Release notes](https://github.com/easimon/maximize-build-space/releases) - [Changelog](https://github.com/easimon/maximize-build-space/blob/master/CHANGELOG.md) - [Commits](https://github.com/easimon/maximize-build-space/compare/v9...v10) --- updated-dependencies: - dependency-name: easimon/maximize-build-space dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
54 lines
1.2 KiB
YAML
54 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
|
|
- tidal
|
|
- 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: DeterminateSystems/magic-nix-cache-action@main
|
|
|
|
- uses: cachix/cachix-action@v13
|
|
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
|