Skip to content

Commit a27e79b

Browse files
authored
fix: setup pixi in the deployment ci (#912)
1 parent dcddc4a commit a27e79b

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/deployment.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,13 @@ jobs:
220220
echo "current_chart_version=$CURRENT_CHART_VERSION" >> $GITHUB_OUTPUT
221221
echo "new_chart_version=$NEW_CHART_VERSION" >> $GITHUB_OUTPUT
222222
echo "diracx_version=$VERSION" >> $GITHUB_OUTPUT
223-
224-
- name: Install pre-commit
225-
run: |
226-
pip install pre-commit
227-
223+
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
224+
with:
225+
working-directory: ./diracx-charts
228226
- name: Run pre-commit to update README
229227
run: |
230228
cd diracx-charts
231-
pre-commit run --all-files || true
229+
pixi run pre-commit run --all-files || true
232230
233231
- name: Commit and push changes
234232
if: success()

0 commit comments

Comments
 (0)