Skip to content

ci(hooks): add prettier #254

ci(hooks): add prettier

ci(hooks): add prettier #254

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request_target:
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# make sure we have a branch when triggered by pull_request (ie: avoids a detached HEAD)
ref: ${{ github.head_ref }}
- name: Set up Python
id: setup-python
uses: actions/setup-python@v5
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Test
run: make -B test
- name: Update snapshots
run: |
git config user.name snapshots
git config user.email [email protected]
git status
git add .
if git commit -m "chore: update snapshots"; then
git push
fi