Skip to content

Commit f1bbb64

Browse files
committed
Try github workflow using nix
1 parent 1921b8a commit f1bbb64

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/nix-build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# See:
2+
# - https://github.com/nix-community/nix-github-actions/blob/master/.github/workflows/cachix-install-nix-action.yml
3+
# - https://github.com/DeterminateSystems/nix-github-actions/blob/main/.github/workflows/nix.yml
4+
name: Build git-monitor (Nix)
5+
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
pull_request:
10+
branches: [ "main" ]
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: cachix/install-nix-action@v30
20+
21+
- name: Build git-monitor
22+
run: nix build .#git-monitor

0 commit comments

Comments
 (0)