-
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 741 Bytes
/
Copy pathnix.yml
File metadata and controls
34 lines (30 loc) · 741 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
30
31
32
33
34
name: nix
concurrency:
cancel-in-progress: false
group: ${{ github.workflow }}-${{ github.ref }}
on:
pull_request:
branches: [main, master]
types: [auto_merge_enabled, ready_for_review]
push:
branches: [main, master]
tags: [latest, v*.*.*, "*-nightly"]
repository_dispatch:
types: [nix, nix-build]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
continue-on-error: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup Nix
uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: nix build
- name: Check the flake
run: nix flake check