feat: ensure cache #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)" | |