Skip to content

Commit

Permalink
Validate hatch version
Browse files Browse the repository at this point in the history
  • Loading branch information
alexchristy committed Nov 25, 2024
1 parent 41a1ab9 commit 3952093
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ jobs:
ref: main
fetch-depth: 0

# Verify the version
- name: Verify version
run: hatch version

# Set up Python
- name: Set up Python
uses: actions/setup-python@v5
Expand All @@ -36,6 +32,10 @@ jobs:
pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
# Verify the version
- name: Verify version
run: hatch version

# Build packages
- name: Build package distributions
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Auto Release](https://img.shields.io/badge/release-auto.svg?colorA=888888&colorB=9B065A&label=auto)](https://github.com/intuit/auto)
[![CI](https://github.com/alexchristy/PyOPN/actions/workflows/ci.yml/badge.svg)](https://github.com/alexchristy/PyOPN/actions)
[![PyPI version](https://badge.fury.io/py/pyopn.svg)](https://badge.fury.io/py/pyopn)

A simple Python wrapper for the OPNsense REST API.

Expand Down
3 changes: 2 additions & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ black~=23.0
ruff>=0.8.0
pytest>=8.3.3
pre-commit>=4.0.1
build>=1.2.2
build>=1.2.2
hatch>=1.13.0

0 comments on commit 3952093

Please sign in to comment.