Skip to content

style: modern typing in files.py #1488

style: modern typing in files.py

style: modern typing in files.py #1488

---
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 }}