From 660135381d057e9ce9fb2b3884401a865803de15 Mon Sep 17 00:00:00 2001 From: bodymindarts Date: Wed, 20 Sep 2023 09:33:37 +0200 Subject: [PATCH] ci: back to using nix develop --- .github/workflows/quickstart.yml | 15 ++++----------- flake.nix | 2 ++ 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/quickstart.yml b/.github/workflows/quickstart.yml index 43085a8f7d..92c109272e 100644 --- a/.github/workflows/quickstart.yml +++ b/.github/workflows/quickstart.yml @@ -16,20 +16,13 @@ jobs: - uses: cachix/install-nix-action@v22 with: github_access_token: ${{ secrets.GITHUB_TOKEN }} - # - uses: HatsuneMiku3939/direnv-action@v1 - name: Test quickstart run: | - nix-channel --add https://nixos.org/channels/nixpkgs-unstable - nix-channel --update - nix profile install nixpkgs#direnv - nix profile install nixpkgs#nix-direnv - source $HOME/.nix-profile/share/nix-direnv/direnvrc - direnv allow cd quickstart - ./bin/bump-galoy-git-ref.sh ${{ github.event.pull_request.head.sha }} - ./bin/bump-galoy-image-digest.sh local - ./bin/bump-mongodb-migrate-image-digest.sh local - make re-render + nix develop -c ./bin/bump-galoy-git-ref.sh ${{ github.event.pull_request.head.sha }} + nix develop -c./bin/bump-galoy-image-digest.sh local + nix develop -c ./bin/bump-mongodb-migrate-image-digest.sh local + nix develop -c make re-render source .envrc docker compose up -d ./bin/quickstart.sh diff --git a/flake.nix b/flake.nix index 6c78fd8f30..f16564efe9 100644 --- a/flake.nix +++ b/flake.nix @@ -33,6 +33,8 @@ vendir jq ytt + direnv + nix-direnv ]; in with pkgs; {