-
Notifications
You must be signed in to change notification settings - Fork 2
29 lines (26 loc) · 961 Bytes
/
eval.yml
File metadata and controls
29 lines (26 loc) · 961 Bytes
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
name: Try eval
on:
push:
branches:
- main
- trying
- staging
jobs:
try-eval:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.0.2
- name: Install latest nix
uses: cachix/install-nix-action@v17
with:
extra_nix_config: |
substituters = https://cache.nixos.org https://nix-community.cachix.org https://dan-cfg.cachix.org
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= dan-cfg.cachix.org-1:elcVKJWjnDs1zzZ/Fs93FLOFS13OQx1z0TxP0Q7PH9o=
nix_path: nixpkgs=channel:nixos-unstable
- name: Setup nix drv cache
uses: cachix/cachix-action@v10
with:
name: dan-cfg
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Quick eval
run: nix develop .#devShell.x86_64-linux --show-trace --print-build-logs --command evalnix