diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 2e6961d..6423f75 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -9,13 +9,13 @@ permissions: jobs: deploy: - runs-on: ubuntu-latest - + environment: release + permissions: + id-token: write steps: - - uses: actions/checkout@v4 - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -23,15 +23,11 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install build twine + pip install build pip install -r requirements.txt - name: Build package run: python -m build - name: Publish to PyPI - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} - run: | - python -m twine upload dist/* + uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 4a06bcc..0551d3f 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -33,7 +33,7 @@ jobs: egress-policy: audit - name: "Checkout code" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: persist-credentials: false diff --git a/README.md b/README.md index f430772..a6f920e 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,9 @@ + + PyPI - Version +

diff --git a/pargraph/about.py b/pargraph/about.py index 8088f75..deded32 100644 --- a/pargraph/about.py +++ b/pargraph/about.py @@ -1 +1 @@ -__version__ = "0.8.1" +__version__ = "0.8.2"