Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 0 additions & 52 deletions .github/workflows/cache-pixi-lock.yml

This file was deleted.

42 changes: 19 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,16 @@ jobs:
echo "skip-ci=${SKIP_CI}" >> $GITHUB_OUTPUT

cache-pixi-lock:
uses: ./.github/workflows/cache-pixi-lock.yml
with:
pixi-version: "v0.62.2" # keep in sync with env var above
runs-on: ubuntu-latest
outputs:
cache-key: ${{ steps.pixi-lock.outputs.cache-key }}
pixi-version: ${{ steps.pixi-lock.outputs.pixi-version }}
steps:
- uses: actions/checkout@v4
- uses: Parcels-code/pixi-lock/create-and-cache@2b823a4a804631370fbde7e6088ee5db71a26c60 # TODO: Update to action in prefix-dev once available
Copy link
Contributor Author

@VeckoTheGecko VeckoTheGecko Jan 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plans re. moving the repo to prefix-dev:

  • Pending issues to be resolved/discussed on the pixi-lock repo
  • (at some point) repo moves to prefix-dev
  • We either:
    • delete our copy of the pixi-lock repo and update our reference here
    • archive our copy of the pixi-lock repo

Either way - this has minimal disruptions to us

id: pixi-lock
with:
pixi-version: ${{env.PIXI_VERSION}}
unit-test:
name: "Unit tests: ${{ matrix.os }} | pixi run -e ${{ matrix.pixi-environment }} tests"
runs-on: ${{ matrix.os }}-latest
Expand All @@ -71,16 +78,12 @@ jobs:
steps:
- uses: actions/checkout@v5
- name: Restore cached pixi lockfile
uses: actions/cache/restore@v4
id: restore-pixi-lock
uses: Parcels-code/pixi-lock/restore@2b823a4a804631370fbde7e6088ee5db71a26c60 # TODO: Update to action in prefix-dev once available
with:
enableCrossOsArchive: true
path: |
pixi.lock
key: ${{ needs.cache-pixi-lock.outputs.cache-id }}
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
- uses: prefix-dev/setup-pixi@v0.9.0
with:
pixi-version: ${{ env.PIXI_VERSION }}
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'v4-dev' }} # TODO: Update v4-dev to main when v4 is released
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache
Expand Down Expand Up @@ -136,16 +139,12 @@ jobs:
steps:
- uses: actions/checkout@v5
- name: Restore cached pixi lockfile
uses: actions/cache/restore@v4
id: restore-pixi-lock
uses: Parcels-code/pixi-lock/restore@2b823a4a804631370fbde7e6088ee5db71a26c60 # TODO: Update to action in prefix-dev once available
with:
enableCrossOsArchive: true
path: |
pixi.lock
key: ${{ needs.cache-pixi-lock.outputs.cache-id }}
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
- uses: prefix-dev/setup-pixi@v0.9.0
with:
pixi-version: ${{ env.PIXI_VERSION }}
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'v4-dev' }} # TODO: Update v4-dev to main when v4 is released
- name: Integration test
Expand Down Expand Up @@ -186,15 +185,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v5
- name: Restore cached pixi lockfile
uses: actions/cache/restore@v4
id: restore-pixi-lock
uses: Parcels-code/pixi-lock/restore@2b823a4a804631370fbde7e6088ee5db71a26c60 # TODO: Update to action in prefix-dev once available
with:
path: |
pixi.lock
key: ${{ needs.cache-pixi-lock.outputs.cache-id }}
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
- uses: prefix-dev/setup-pixi@v0.9.0
with:
pixi-version: ${{ env.PIXI_VERSION }}
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'v4-dev' }} # TODO: Update v4-dev to main when v4 is released
- name: Typechecking
Expand Down
Loading