Skip to content

build(deps): bump thiserror from 2.0.7 to 2.0.9 #535

build(deps): bump thiserror from 2.0.7 to 2.0.9

build(deps): bump thiserror from 2.0.7 to 2.0.9 #535

Workflow file for this run

name: pre-commit
on:
push:
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Generate Cargo.lock
uses: actions-rs/cargo@v1
with:
command: generate-lockfile
- name: Set up Python
uses: actions/setup-python@v5
- name: Detect code style issues
uses: pre-commit/[email protected]
env:
SKIP: no-commit-to-branch
- name: Generate patch file
if: failure()
run: |
git diff-index -p HEAD > "${PATCH_FILE}"
[ -s "${PATCH_FILE}" ] && echo "UPLOAD_PATCH_FILE=${PATCH_FILE}" >> "${GITHUB_ENV}"
env:
PATCH_FILE: pre-commit.patch
- name: Upload patch artifact
if: failure() && env.UPLOAD_PATCH_FILE != null
uses: actions/upload-artifact@v4
with:
name: ${{ env.UPLOAD_PATCH_FILE }}
path: ${{ env.UPLOAD_PATCH_FILE }}