-
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 1.18 KB
/
nix.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
37
38
39
40
41
42
name: 📦 Nix Build
on:
push:
branches: [main]
pull_request:
branches: ["**"]
jobs:
changes:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v11
- name: Cache Magic
uses: DeterminateSystems/magic-nix-cache-action@v3
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v5
with:
ignore-missing-flake-lock: false
fail-mode: true
- name: Nix Develop Check
run: |
nix develop --show-trace -c rustc --version
nix develop --show-trace -c cargo deny --version
nix develop --show-trace -c cargo dist --version
nix develop --show-trace -c cargo expand --version
nix develop --show-trace -c cargo outdated --version
nix develop --show-trace -c cargo sort --version
nix develop --show-trace -c cargo udeps --version
nix develop --show-trace -c cargo watch --version
nix develop --show-trace -c diesel --version
- name: Nix Fission Server Build
run: nix build .