Skip to content

Merge pull request #985 from PMEAL/ci/simplify-actions #127

Merge pull request #985 from PMEAL/ci/simplify-actions

Merge pull request #985 from PMEAL/ci/simplify-actions #127

name: Bump Version (dev)
on:
push:
branches:
- dev
jobs:
build:
if: (! contains(github.event.head_commit.message, '[no bump]'))
name: Bump version
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install uv for faster builds
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install dependencies
run: |
uv pip install --system -e .[build]
- name: Bump version (dev)
run: |
hatch version dev
- name: Commit files
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Bump version number (dev segment)
commit_author: GitHub Actions <actions@github.com>