CI: set up nix before checking docs

This commit is contained in:
NotAShelf 2023-04-15 11:38:51 +03:00
parent 8545cf4748
commit c7949b5ecc
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22

View file

@ -19,6 +19,20 @@ jobs:
- docs-manpages - docs-manpages
- docs-json - docs-json
steps: 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 - uses: actions/checkout@v3
- name: Set default git branch (to reduce log spam) - name: Set default git branch (to reduce log spam)
run: git config --global init.defaultBranch main run: git config --global init.defaultBranch main