-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 882 Bytes
/
push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
name: 'push'
on:
push:
branches:
- '**'
jobs:
release:
name: 'Test and push to Cachix'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
extra-substituters = https://tek.cachix.org
extra-trusted-public-keys = tek.cachix.org-1:+sdc73WFq8aEKnrVv5j/kuhmnW2hQJuqdPJF5SnaCBk=
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v12
with:
name: tek
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: 'build'
env:
RIBOSOME_ROOT: ${{ vars.GITHUB_WORKSPACE }}
run: nix flake check
- name: 'template test'
run: nix run .#template-test