diff --git a/.github/workflows/docs-preview.yml b/.github/workflows/docs-preview.yml index fea3169fda8e..c89ada11f34e 100644 --- a/.github/workflows/docs-preview.yml +++ b/.github/workflows/docs-preview.yml @@ -76,9 +76,6 @@ jobs: key: docs-${{ github.event.pull_request.base.sha }} path: docs/**/.jupyter_cache - - name: run quarto check - run: nix develop '.#ibis311' --ignore-environment --keep HOME -c quarto check - - name: build docs run: nix develop '.#ibis311' --ignore-environment --keep HOME -c just docs-build-all diff --git a/.github/workflows/ibis-docs-main.yml b/.github/workflows/ibis-docs-main.yml index 7e21f22b81be..554459c26312 100644 --- a/.github/workflows/ibis-docs-main.yml +++ b/.github/workflows/ibis-docs-main.yml @@ -68,9 +68,6 @@ jobs: key: docs-${{ github.event.before }} path: docs/**/.jupyter_cache - - name: run quarto check - run: nix develop '.#ibis311' --ignore-environment --keep HOME -c quarto check - - name: build api docs run: nix develop '.#ibis311' --ignore-environment -c just docs-apigen --verbose diff --git a/.github/workflows/ibis-docs-pr.yml b/.github/workflows/ibis-docs-pr.yml index 56d0827dbfbd..44ef3bfd97f8 100644 --- a/.github/workflows/ibis-docs-pr.yml +++ b/.github/workflows/ibis-docs-pr.yml @@ -41,6 +41,28 @@ jobs: # that for extensions run: nix develop '.#ibis311' --ignore-environment --keep HOME --keep HYPOTHESIS_PROFILE -c just doctest + check: + runs-on: ubuntu-latest + steps: + - name: install nix + uses: cachix/install-nix-action@v30 + with: + extra_nix_config: | + access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} + + - name: setup cachix + uses: cachix/cachix-action@v15 + with: + name: ibis + authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} + extraPullNames: nix-community + + - name: checkout + uses: actions/checkout@v4 + + - name: run quarto check + run: nix develop '.#ibis311' --ignore-environment --keep HOME -c quarto check + build: runs-on: ubuntu-latest steps: @@ -66,9 +88,6 @@ jobs: key: docs-${{ github.event.pull_request.base.sha }} path: docs/**/.jupyter_cache - - name: run quarto check - run: nix develop '.#ibis311' --ignore-environment --keep HOME -c quarto check - - name: generate api docs run: nix develop '.#ibis311' --ignore-environment -c just docs-apigen --verbose