Skip to content
This repository was archived by the owner on Oct 5, 2024. It is now read-only.

Commit dc9d0a2

Browse files
committed
ci: Add nix-test
1 parent 0614853 commit dc9d0a2

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/nix-test.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: "nix-test"
2+
on:
3+
pull_request:
4+
push:
5+
branches: [master]
6+
workflow_dispatch:
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
permissions:
13+
contents: read
14+
pull-requests: read
15+
16+
jobs:
17+
check-flakes:
18+
strategy:
19+
matrix:
20+
os: [ubuntu-24.04, macos-14]
21+
runs-on: ${{ matrix.os }}
22+
steps:
23+
- uses: actions/checkout@v4
24+
- uses: cachix/install-nix-action@v27
25+
- run: nix build .
26+
- run: nix flake check
27+
28+
check-docker-x86-64:
29+
runs-on: ubuntu-24.04
30+
steps:
31+
- uses: actions/checkout@v4
32+
- uses: cachix/install-nix-action@v27
33+
- run: nix build .#docker

0 commit comments

Comments
 (0)