diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f0c324f..5c305e0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,11 +12,12 @@ jobs: - uses: cachix/install-nix-action@v22 with: github_access_token: ${{ secrets.GITHUB_TOKEN }} + - uses: DeterminateSystems/magic-nix-cache-action@main - name: Build the nix shell - run: nix develop '.#minimal' --command cargo --version + run: nix develop --command cargo --version # publish - - run: nix develop '.#minimal' --command cargo publish --package connector_arrow + - run: nix develop --command cargo publish --package connector_arrow --verbose env: CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 03b6219..99a278b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,6 +14,7 @@ jobs: - uses: cachix/install-nix-action@v22 with: github_access_token: ${{ secrets.GITHUB_TOKEN }} + - uses: DeterminateSystems/magic-nix-cache-action@main - name: Build the nix shell run: nix develop --command just --version - name: Install Rust toolchain with rustup diff --git a/flake.nix b/flake.nix index fee1101..a78e754 100644 --- a/flake.nix +++ b/flake.nix @@ -40,8 +40,5 @@ devShells.default = pkgs.mkShell { buildInputs = essentials ++ dbs; }; - devShells.minimal = pkgs.mkShell { - buildInputs = with pkgs; [rustup]; - }; }); }