Skip to content

fix: pin requests version #73

fix: pin requests version

fix: pin requests version #73

Workflow file for this run

---
name: lint
on:
pull_request:
workflow_dispatch:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
- name: Get Python info
id: python_info
run: echo info=$(python -VV | sha256sum | cut -d' ' -f1) >> $GITHUB_OUTPUT
- name: Create pre-commit cache
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ steps.python_info.outputs.info }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Setup pre-commit
uses: pre-commit/[email protected]