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
14 changes: 8 additions & 6 deletions .github/workflows/basic-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,12 +257,14 @@ jobs:
with:
python-version: ${{steps.breeze.outputs.host-python-version}}
skip-prek-hooks: ${{ inputs.skip-prek-hooks }}
- name: "Autoupdate all prek hooks"
run: prek autoupdate --freeze
- name: "Autoupdate Lucas-C hooks to bleeding edge"
run: prek autoupdate --bleeding-edge --freeze --repo https://github.com/Lucas-C/pre-commit-hooks
- name: "Check if there are any changes in pre-commit hooks"
run: git diff --exit-code
# TODO(potiuk): enable this once prek supports automatic upgrade of hooks
# after https://github.com/j178/prek/issues/35 is implemented§
# - name: "Autoupdate all prek hooks"
# run: prek autoupdate --freeze
# - name: "Autoupdate Lucas-C hooks to bleeding edge"
# run: prek autoupdate --bleeding-edge --freeze --repo https://github.com/Lucas-C/pre-commit-hooks
# - name: "Check if there are any changes in pre-commit hooks"
# run: git diff --exit-code
- name: "Run automated upgrade for black"
run: >
prek
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-image-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
if: inputs.canary-run == 'true'
- name: "Prepare .tar file from prek cache"
run: |
tar -C ~ -czf /tmp/cache-prek.tar.gz .cache/prek .cache/uv
tar -C ~ -czf /tmp/cache-prek.tar.gz .cache/prek
shell: bash
if: inputs.canary-run == 'true'
- name: "Save prek cache"
Expand Down
Loading