Skip to content

Auto-update pre-commit hooks #789

Auto-update pre-commit hooks

Auto-update pre-commit hooks #789

Workflow file for this run

name: pre-commit
on: [push, pull_request]
jobs:
build:
name: "Linux - pre-commit checks - Python 3.10"
timeout-minutes: 30
runs-on: ubuntu-latest
env:
PRE_COMMIT_USE_MICROMAMBA: 1
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Set up micromamba
uses: mamba-org/setup-micromamba@06375d89d211a1232ef63355742e9e2e564bc7f7
- name: Add micromamba to GITHUB_PATH
run: echo "${HOME}/micromamba-bin" >> "$GITHUB_PATH"
- name: Install Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Run pre-commit checks
uses: pre-commit/action@v3.0.1