File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,25 @@ jobs:
5757 strategy :
5858 fail-fast : false
5959 matrix :
60- pixi-env : ["test-nightly"]
60+ pixi-env : ["test-nightly", "cache-pixi-lock" ]
6161 steps :
6262 - uses : actions/checkout@v5
6363 with :
6464 fetch-depth : 0 # Fetch all history for all branches and tags.
65-
65+ - name : Restore cached pixi lockfile
66+ uses : actions/cache/restore@v4
67+ id : restore-pixi-lock
68+ with :
69+ enableCrossOsArchive : true
70+ path : |
71+ pixi.lock
72+ key : ${{ needs.cache-pixi-lock.outputs.cache-id }}
73+ - uses : prefix-dev/setup-pixi@v0.9.0
74+ with :
75+ pixi-version : ${{ env.PIXI_VERSION }}
76+ cache : true
77+ environments : ${{ matrix.pixi-env }}
78+ cache-write : ${{ github.event_name == 'push' && github.ref_name == 'main' }}
6679 - name : Version info
6780 run : |
6881 pixi run -e ${{matrix.pixi-env}} python xarray/util/print_versions.py
You can’t perform that action at this time.
0 commit comments