diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e98b4e625..b3d895149 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,13 +13,11 @@ jobs: steps: - uses: actions/checkout@v2 - name: set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: "3.x" - name: set up Poetry - uses: abatilo/actions-poetry@v2.0.0 - with: - poetry-version: "1.3.1" + uses: abatilo/actions-poetry@v3 - name: get version id: get_version run: echo "VERSION=$(echo ${GITHUB_REF/refs\/tags\//})" >> $GITHUB_ENV @@ -30,7 +28,7 @@ jobs: POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }} run: poetry publish --build - name: Create GitHub release entry - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 id: create_release with: draft: true @@ -79,7 +77,7 @@ jobs: platforms: all - name: Login to DockerHub if: github.event_name != 'pull_request' - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} @@ -89,7 +87,7 @@ jobs: with: install: true - name: Build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6 with: context: . file: ./release.dockerfile @@ -119,7 +117,7 @@ jobs: ref: main - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.11 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f7ac7ae4a..48575ebfd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,13 +13,11 @@ jobs: steps: - uses: actions/checkout@v3 - name: set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - name: set up Poetry - uses: abatilo/actions-poetry@v2.0.0 - with: - poetry-version: "1.6.1" + uses: abatilo/actions-poetry@v3 - name: install dependencies run: | set -x