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 committed Dec 11, 2023
1 parent 41cab02 commit 6a552d8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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
- run: |
nix --version
nix show-config
nix build -L .#packages.x86_64-linux.process-compose || true
echo
cat /nix/store/9zxwjm75l33dkncacf1nzksc4qr11cal-process-compose-0.77.4.drv
false
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 6a552d8

Please sign in to comment.