hoc/.github/workflows/nix-build.yml

21 lines
466 B
YAML
Raw Normal View History

2020-03-22 18:22:16 +01:00
name: "Nix Build"
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v8
2020-03-22 19:47:09 +01:00
- name: Cache nix store
uses: actions/cache@v1
with:
path: /nix
key: ${{ runner.os }}-nix-store
2020-03-22 18:22:16 +01:00
- uses: cachix/cachix-action@v5
with:
name: hitsofcode
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
2020-03-22 18:33:48 +01:00
attributes: package