diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 49fafd9..2af02ba 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,11 +1,14 @@ name: Publish on: - push: - branches: main + workflow_run: + workflows: ["Test"] + branches: [main] + types: + - completed jobs: - build: + publish: name: Build & publish runs-on: ubuntu-latest @@ -15,10 +18,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.11" - - - name: Install pipx - run: python -m pip install pipx + python-version: 3.11 - name: Install poetry run: pipx install poetry diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5b1d7e9..7d81e12 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,10 +16,11 @@ jobs: with: python-version: 3.11 - - name: Install dependencies with poetry - run: | - pipx install poetry - poetry install + - name: Install poetry + run: pipx install poetry + + - name: Install dependencies + run: poetry install - run: poetry run isort --recursive --diff . - run: poetry run black --check . diff --git a/pyproject.toml b/pyproject.toml index 9a087a3..3179dd9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "tableland" -version = "0.0.0" +version = "0.0.0-pre.0" description = "A minimal Tableland Python SDK for creating, writing, and reading onchain tables" authors = ["Dan Buchholz "] license = "MIT AND Apache-2.0"