ci: use Magic Nix Cache (#279)

This commit is contained in:
Daniel Thwaites 2024-03-13 10:34:57 +00:00 committed by GitHub
parent 32a7969292
commit d0b264e216
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 28 additions and 6 deletions

View file

@ -16,10 +16,17 @@ jobs:
steps:
- name: Install Nix
uses: cachix/install-nix-action@v22
uses: DeterminateSystems/nix-installer-action@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
extra-conf: |
extra-experimental-features = nix-command flakes
- name: Set up cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build docs
run: nix -L build .#docs