From c7949b5ecce52ef309b86888b4f81e65bd6b9a73 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sat, 15 Apr 2023 11:38:51 +0300 Subject: [PATCH] CI: set up nix before checking docs --- .github/workflows/check-docs.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/check-docs.yml b/.github/workflows/check-docs.yml index cbd62d3..95b2af1 100644 --- a/.github/workflows/check-docs.yml +++ b/.github/workflows/check-docs.yml @@ -19,6 +19,20 @@ jobs: - docs-manpages - docs-json steps: + - uses: easimon/maximize-build-space@v6 + with: + overprovision-lvm: true + remove-android: true + remove-dotnet: true + remove-haskell: true + - uses: cachix/install-nix-action@v20 + with: + extra_nix_config: | + access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} + auto-optimise-store = true + experimental-features = nix-command flakes + nix_path: nixpkgs=channel:nixos-unstable + - uses: actions/checkout@v3 - name: Set default git branch (to reduce log spam) run: git config --global init.defaultBranch main