-
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (33 loc) · 916 Bytes
/
check.yaml
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
# https://github.com/marketplace/actions/publish-nix-flakes-to-flakehub
# https://github.com/marketplace/actions/magic-nix-cache
name: Flake Check
on:
push:
paths-ignore:
- 'docs/**'
- '**.md'
- '.*'
- './**'
pull_request:
paths-ignore:
- 'docs/**'
- '**.md'
- '.*'
- './**'
jobs:
check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
with:
diagnostic-endpoint: ""
# github-token: ${{ github.token }}
- uses: DeterminateSystems/magic-nix-cache-action@main
with:
diagnostic-endpoint: "" # Disables telemetry
upstream-cache: https://lehmanator.cachix.org # Uses binary cache
- uses: DeterminateSystems/flake-checker-action@main
with:
send-statistics: false
- run: nix flake check