diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d2e9fed..43f518b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,10 +6,25 @@ on: - "v*" jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install uv + uses: astral-sh/setup-uv@v4 + with: + enable-cache: true + - run: uv python install 3.12 + - run: uv sync --all-extras + - run: uv run ruff format --check . + - run: uv run ruff check . + - run: uv run pytest + release: + needs: test runs-on: ubuntu-latest permissions: - id-token: write # Required for trusted publishing + id-token: write steps: - uses: actions/checkout@v4 @@ -27,4 +42,3 @@ jobs: - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - diff --git a/pyproject.toml b/pyproject.toml index 94b6ff0..f526841 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "edgee" -version = "0.1.1" +version = "1.0.0" description = "Lightweight Python SDK for Edgee AI Gateway" readme = "README.md" license = "Apache-2.0"