Skip to content

Commit

Permalink
imp: add nix ci gha job
Browse files Browse the repository at this point in the history
  • Loading branch information
johnalotoski authored and F1bonacc1 committed Dec 12, 2023
1 parent 0f6ad35 commit f097855
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Nix
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v24
- name: Nix version
run: nix --version
- name: Nix build
run: nix build -L .#packages.x86_64-linux.process-compose
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ];

vendorHash = "sha256-0On/Rg8c9g45qbLuwhP/ZIGosu0X1uzXfAoddgTCDkg=";
# vendorHash = lib.fakeSha256;
# vendorHash = lib.fakeHash;

postInstall = ''
mv $out/bin/{src,process-compose}
Expand Down

0 comments on commit f097855

Please sign in to comment.