Skip to content

Commit

Permalink
fix: add python for bump action
Browse files Browse the repository at this point in the history
  • Loading branch information
drodarie committed Jul 20, 2024
1 parent 1278b43 commit 8380cb0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@ jobs:
token: ${{ github.token }}
branch: main

- name: Set up Python 3.11
uses: actions/setup-python@v1
with:
python-version: 3.11

- name: Bump version in Python project
run: |
pip install --upgrade pip bump-my-version
oldv="${{ steps.semver.outputs.current }}"
newv="${{steps.semver.outputs.next}}"
# Bump the version, dropping the leading `v` with `${x:1}`
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ test = [
dev = [
"pre-commit~=3.5",
"black~=24.0",
"isort~=5.12",
"bump-my-version~=0.21"
"isort~=5.12"
]

[tool.black]
Expand Down

0 comments on commit 8380cb0

Please sign in to comment.