-
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 1.04 KB
/
checks.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
32
33
34
35
36
name: Check flake outputs
on:
pull_request:
push:
workflow_dispatch:
jobs:
checks:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
#- name: Install Nix
# uses: cachix/install-nix-action@v22
# with:
# nix_path: nixpkgs=channel:nixos-unstable
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
# Disable telemetry
diagnostic-endpoint: ""
- name: Use binary cache
uses: DeterminateSystems/magic-nix-cache-action@main
with:
# Disable telemetry
diagnostic-endpoint: ""
# Use my binary cache (uses cache.nixos.org upstream)
upstream-cache: https://lehmanator.cachix.org
use-flakehub: false
use-gha-cache: true
- name: Check flake inputs
uses: DeterminateSystems/flake-checker-action@main
with:
# Disable telemetry
send-statistics: false
#- name: Check flake
# run: nix flake check