Skip to content

Commit b0dfff6

Browse files
authored
Merge pull request #108 from sunng87/ci/nix-flake
feat: add nix flake build
2 parents bc3aaa9 + 519b55a commit b0dfff6

File tree

6 files changed

+2966
-0
lines changed

6 files changed

+2966
-0
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,15 @@ jobs:
147147
148148
- name: Run integration tests
149149
run: bb integration-test
150+
151+
nix-build:
152+
needs: unit-test
153+
runs-on: ubuntu-latest
154+
steps:
155+
- uses: actions/checkout@v5
156+
- uses: cachix/install-nix-action@v31
157+
- run: nix develop --command deps-lock-update
158+
- run: |
159+
echo "checking if deps-lock.json is up to date"
160+
git diff --exit-code
161+
- run: nix build

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ docs/CHANGELOG.md
3636
docs/images/
3737

3838
integration-test/stderr.txt
39+
reachability-metadata.json

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
- Add nix flake build.
6+
57
## 0.47.0
68

79
- Support more providers login via `/login`.

0 commit comments

Comments
 (0)