diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 541347e..209d93b 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -18,22 +18,21 @@ permissions: jobs: deploy: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v3 - with: - python-version: '3.10' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements/dev.txt - - name: Set PYPI token - run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} - - name: Build package - run: poetry build - - name: Publish package - run: poetry publish + - uses: actions/checkout@v5 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.13" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements/dev.txt + - name: Set PYPI token + run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} + - name: Build package + run: poetry build + - name: Publish package + run: poetry publish diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index 5ce668d..dfee5db 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -14,11 +14,11 @@ jobs: contents: write steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 - - name: Python Semantic Release - uses: python-semantic-release/python-semantic-release@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} + - name: Python Semantic Release + uses: python-semantic-release/python-semantic-release@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }}