Skip to content

build(deps): bump actions/checkout from 5.0.0 to 6.0.0 #179

build(deps): bump actions/checkout from 5.0.0 to 6.0.0

build(deps): bump actions/checkout from 5.0.0 to 6.0.0 #179

Workflow file for this run

name: Pre-commit checks
on:
# Run workflow for PRs.
pull_request:
# Whenever we have a new commit on main, run the workflow for that.
push:
branches: [main]
jobs:
pre-commit:
name: Pre-commit checks
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
with:
ref: ${{github.event.pull_request.head.sha}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.10"
- name: Run pre-commit checks on PR
uses: pre-commit/action@v3.0.1