forked from akaihola/darker
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (24 loc) · 999 Bytes
/
test-bump-version.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
name: darkgray_bump_version check
on: push # yamllint disable-line rule:truthy
jobs:
test-bump-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Make sure that `darkgray_bump_version` still finds all version strings
and that there's a future milestone on GitHub Issues.
# If this fails, make sure the regular expressions in
# release_tools/bump-version-patterns.yaml
# match changes in the files to modify. Also ensure there's a milestone
# in the GitHub repository with a future version number as its name.
# This is used to update the call for reviewing pull requests
# in `README.rst`.
run: |
pip install \
https://github.com/akaihola/darkgray-dev-tools/archive/refs/heads/main.zip
darkgray_bump_version \
--minor \
--dry-run \
--token=${{ secrets.GITHUB_TOKEN }}