Skip to content

Commit 79cefa6

Browse files
author
Rishab Garg
authored
feat: add GitHub actions workflow for nix package build
1 parent d81b3ad commit 79cefa6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
on:
2+
pull_request:
3+
push:
4+
branches: [master]
5+
6+
jobs:
7+
build-pkg:
8+
name: Build Nix package
9+
runs-on: ubuntu-latest
10+
permissions:
11+
id-token: write
12+
contents: read
13+
steps:
14+
- uses: actions/checkout@v5.0.0
15+
- uses: DeterminateSystems/determinate-nix-action@main # or v3.11.2 to pin to a release
16+
- run: nix build .

0 commit comments

Comments
 (0)