Skip to content

Commit 7307436

Browse files
feat: update project workflow to push to pypi (#4)
1 parent 37e97a9 commit 7307436

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,25 @@ on:
66
- "v*"
77

88
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Install uv
14+
uses: astral-sh/setup-uv@v4
15+
with:
16+
enable-cache: true
17+
- run: uv python install 3.12
18+
- run: uv sync --all-extras
19+
- run: uv run ruff format --check .
20+
- run: uv run ruff check .
21+
- run: uv run pytest
22+
923
release:
24+
needs: test
1025
runs-on: ubuntu-latest
1126
permissions:
12-
id-token: write # Required for trusted publishing
27+
id-token: write
1328

1429
steps:
1530
- uses: actions/checkout@v4
@@ -27,4 +42,3 @@ jobs:
2742

2843
- name: Publish to PyPI
2944
uses: pypa/gh-action-pypi-publish@release/v1
30-

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "edgee"
3-
version = "0.1.1"
3+
version = "1.0.0"
44
description = "Lightweight Python SDK for Edgee AI Gateway"
55
readme = "README.md"
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)