Skip to content

Commit c277310

Browse files
committed
build: a make target to cog the workflows
1 parent 29546ee commit c277310

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/kit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ jobs:
3838
include:
3939
# To change the matrix, edit the choices, then process this file with cog:
4040
#
41+
# $ make workflows
42+
#
43+
# which runs:
44+
#
4145
# $ python -m pip install cogapp
4246
# $ python -m cogapp -crP .github/workflows/kit.yml
4347
#

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ upgrade: ## update the *.pip files with the latest packages satisfying *.in
7777
$(PIP_COMPILE) -o requirements/light-threads.pip requirements/light-threads.in
7878
$(PIP_COMPILE) -o doc/requirements.pip doc/requirements.in
7979

80+
workflows: ## Run cog on the workflows to keep them up-to-date.
81+
python -m cogapp -crP .github/workflows/*.yml
82+
8083
# Kitting
8184

8285
kit: ## Make the source distribution.

0 commit comments

Comments
 (0)