-
-
Notifications
You must be signed in to change notification settings - Fork 279
29 lines (27 loc) · 697 Bytes
/
nix-build.yml
File metadata and controls
29 lines (27 loc) · 697 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: Nix Build
on:
workflow_dispatch:
pull_request:
paths:
- '**/*.rs'
- '**/Cargo.toml'
- '**/Cargo.lock'
- '.github/workflows/nix-build.yml'
push:
branches:
- main
paths:
- '**/*.rs'
- '**/Cargo.toml'
- '**/Cargo.lock'
- '.github/workflows/nix-build.yml'
jobs:
lints:
name: Build
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- run: nix build --max-jobs auto --build-max-jobs auto --print-build-logs