Skip to content

Commit 03dfc3d

Browse files
committed
convert to flake
1 parent a21aaa6 commit 03dfc3d

15 files changed

+990
-353
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v2
1818
with:
1919
path: lilgit
20-
- uses: cachix/install-nix-action@v16
20+
- uses: cachix/install-nix-action@v18
2121
with:
2222
nix_path: nixpkgs=channel:nixpkgs-unstable
2323
- run: nix-build lilgit/default.nix
@@ -28,10 +28,10 @@ jobs:
2828
os: [ ubuntu-latest, macos-latest ]
2929
fail-fast: false
3030
steps:
31-
- uses: cachix/install-nix-action@v16
31+
- uses: cachix/install-nix-action@v18
3232
with:
3333
nix_path: nixpkgs=channel:nixpkgs-unstable
34-
- run: echo declare -p __lilgit | nix-shell -E 'import (fetchGit { url="https://github.com/abathur/lilgit"; ref="main"; } + "/shell.nix")'
34+
- run: echo declare -p __lilgit | nix-shell -E 'import (fetchGit { url="https://github.com/abathur/lilgit"; rev="'${GITHUB_SHA}'"; allRefs = true; } + "/shell.nix")'
3535
# macOS only because it depends on bsd 'footprint' for
3636
# easy measuring of RAM footprint...
3737
performance:
@@ -51,7 +51,7 @@ jobs:
5151
repository: nixos/nixpkgs
5252
path: nixpkgs
5353
fetch-depth: 0
54-
- uses: cachix/install-nix-action@v16
54+
- uses: cachix/install-nix-action@v18
5555
with:
5656
nix_path: nixpkgs=channel:nixpkgs-unstable
5757
- name: benchmark

0 commit comments

Comments
 (0)