diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7103ba..a4c7aa4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4 with: @@ -24,7 +24,7 @@ jobs: fmt: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4 with: @@ -35,13 +35,13 @@ jobs: run: make fmtcheck build: - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest strategy: matrix: python-version: [3.9, "3.10", "3.11", "3.12", "3.13"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7806452..c8cec57 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,29 +1,29 @@ -name: Publish to PyPI and TestPyPI +name: Publish Python package to PyPI on: release: types: [published] jobs: - build-n-publish: - name: Build and publish to PyPI and TestPyPI + publish: + name: Build and publish to PyPI runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.10' - - name: Build a binary wheel and a source tarball - run: >- - python setup.py sdist + python-version: "3.13" + - name: Install dependencies + run: python -m pip install --upgrade pip build + - name: Build package + run: python -m build - name: Publish to Test PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + uses: pypa/gh-action-pypi-publish@v1 with: password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + uses: pypa/gh-action-pypi-publish@v1 with: password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/dintero/version.py b/dintero/version.py index fb510e8..4d6ebda 100644 --- a/dintero/version.py +++ b/dintero/version.py @@ -1 +1 @@ -VERSION = "0.0.8" +VERSION = "0.0.9"