File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Bump a Development Dependency
2+ permissions : {}
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ package :
7+ description : " Name of the package to bump"
8+ required : true
9+ type : choice
10+ # Hard-coding options for safety
11+ # It's also useful as a record of which packages tend to need bumping
12+ options :
13+ - black
14+ - urllib
15+ jobs :
16+ regen :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Checkout code
20+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
21+ with :
22+ persist-credentials : false
23+
24+ - name : Set up uv
25+ uses : astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d # v7.1.0
26+ with :
27+ version : " latest"
28+ enable-cache : true
29+
30+ - name : Regenerate
31+ # Updates uv.lock, requirements.txt, and docs/requirements.txt
32+ run : uv run -P $PKG_TO_BUMP prek -a uv-export
33+ env :
34+ PKG_TO_BUMP : ${{ inputs.package }}
You can’t perform that action at this time.
0 commit comments