Skip to content
Myr

pre-commit.yaml

This file

Path

.github/workflows/pre-commit.yaml

29 lines · 1.0 KiB · YAML

Last changed by

update dev dependenciesDavid Lordbefore adoption04ef3a6

History of this file

Take it

The walk stopped after 200 commits: lines older than c326df9 point at it.

Fix closing of callbacks on CLI exit (#2680)Kevin Deldyckebefore adoptionc326df9

lines 1–5why, one step back
1name: pre-commit
2on:3 pull_request:4 push:5 branches: [main, stable]

add zizmor to scan workflows (#3304)David Lordbefore adoptiona9e62f5

lines 6–9why, one step back
6permissions: {}
7concurrency:8 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}9 cancel-in-progress: true

Fix closing of callbacks on CLI exit (#2680)Kevin Deldyckebefore adoptionc326df9

lines 10–13why, one step back
10jobs:
11 main:12 runs-on: ubuntu-latest13 steps:

Update publish workflows (#3266)Rowlando13before adoption781d6a8

line 14why, one step back
14 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

use uv (#2918)Rowlando13before adoption2e1c742

line 15why, one step back
15 with:

add zizmor to scan workflows (#3304)David Lordbefore adoptiona9e62f5

line 16why, one step back
16 persist-credentials: false

update dev dependenciesDavid Lordbefore adoption04ef3a6

line 17why, one step back
17 - uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0

add zizmor to scan workflows (#3304)David Lordbefore adoptiona9e62f5

line 18why, one step back
18 with:

use uv (#2918)Rowlando13before adoption2e1c742

lines 19–20why, one step back
19 enable-cache: true
20 prune-cache: false

Update publish workflows (#3266)Rowlando13before adoption781d6a8

line 21why, one step back
21 - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0

use uv (#2918)Rowlando13before adoption2e1c742

lines 22–24why, one step back
22 id: setup-python
23 with:24 python-version-file: pyproject.toml

update dev dependenciesDavid Lordbefore adoption04ef3a6

line 25why, one step back
25 - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4

use uv (#2918)Rowlando13before adoption2e1c742

lines 26–28why, one step back
26 with:
27 path: ~/.cache/pre-commit28 key: pre-commit|${{ hashFiles('pyproject.toml', '.pre-commit-config.yaml') }}

add zizmor to scan workflows (#3304)David Lordbefore adoptiona9e62f5

line 29why, one step back
29 - run: uv run --locked --no-default-groups --group pre-commit pre-commit run --show-diff-on-failure --color=always --all-files