Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
ci: switch to using a custom GitHub Action for Semantic Release
Browse files Browse the repository at this point in the history
Signed-off-by: Avi Miller <me@dje.li>
  • Loading branch information
Djelibeybi committed Sep 14, 2023
1 parent 1d50946 commit d6e0b0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,10 @@ jobs:
with:
fetch-depth: 0

- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install Poetry
uses: snok/install-poetry@v1.3.4

# This action uses Python Semantic Release v8
# This action uses a custom version of Python Semantic Release v8
- name: Python Semantic Release
id: release
uses: python-semantic-release/python-semantic-release@v8.0.8
uses: Djelibeybi/python-semantic-release@v8-py311
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ homeassistant = "^2023.0.0"
branch = "main"
version_toml = ["pyproject.toml:tool.poetry.version"]
version_variables = ["src/aiosoma/__init__.py:__version__"]
build_command = " /home/runner/.local/bin/poetry build"
build_command = "poetry build"

[tool.pytest.ini_options]
addopts = "-v -Wdefault --cov=aiosoma --cov-report=term-missing:skip-covered --ignore src/aiosoma/__cli__.py"
Expand Down

0 comments on commit d6e0b0e

Please sign in to comment.