Skip to content

feat: ensure cache

feat: ensure cache #3

Workflow file for this run

name: build
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Guix cache
uses: actions/cache@v3
with:
path: ~/.cache/guix
# use a key that (almost) never matches
key: guix-cache-${{ github.sha }}
restore-keys: |
guix-cache-
# Cannot use a cache for /gnu/store, since restore fails
- name: Install Guix
uses: PromyLOPh/guix-install-action@v1
- name: Ensure no locale warning
run: test -z "$(guix --version 2>&1 >/dev/null)"