From 5adad85e268e5b725859e354ccbd15a141e41006 Mon Sep 17 00:00:00 2001 From: David McClosky Date: Fri, 1 Sep 2023 12:05:39 -0400 Subject: [PATCH 1/2] Update Ubuntu image for GitHub workflows Context: https://github.com/actions/runner-images/issues/6002 --- .github/workflows/release-to-pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-to-pypi.yml b/.github/workflows/release-to-pypi.yml index 51117dc..6dd3064 100644 --- a/.github/workflows/release-to-pypi.yml +++ b/.github/workflows/release-to-pypi.yml @@ -7,7 +7,7 @@ on: jobs: build-n-publish: name: Build and publish to PyPI - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - name: Checkout branch uses: actions/checkout@v2 @@ -29,4 +29,4 @@ jobs: - name: Build and publish to PyPI run: | poetry build - poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} \ No newline at end of file + poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} From cc88af87f02f1e77ba77183be83ae667fbfb2c67 Mon Sep 17 00:00:00 2001 From: David McClosky Date: Fri, 1 Sep 2023 13:51:40 -0400 Subject: [PATCH 2/2] update install-poetry version, ditto for build-and-deploy-docs workflow --- .github/workflows/build-and-deploy-docs.yml | 6 +++--- .github/workflows/release-to-pypi.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-deploy-docs.yml b/.github/workflows/build-and-deploy-docs.yml index 63a750d..2c176c3 100644 --- a/.github/workflows/build-and-deploy-docs.yml +++ b/.github/workflows/build-and-deploy-docs.yml @@ -9,7 +9,7 @@ on: [workflow_dispatch] jobs: build-docs: name: Build docs and push to gh-pages - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - name: Checkout branch uses: actions/checkout@v2 @@ -20,7 +20,7 @@ jobs: python-version: 3.8 - name: Install poetry - uses: snok/install-poetry@v1.1.4 + uses: snok/install-poetry@v1.3.4 with: version: 1.1.4 virtualenvs-create: true @@ -45,4 +45,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: email: david.hagan@quant-aq.com - build_dir: docs/_build/html \ No newline at end of file + build_dir: docs/_build/html diff --git a/.github/workflows/release-to-pypi.yml b/.github/workflows/release-to-pypi.yml index 6dd3064..d98c901 100644 --- a/.github/workflows/release-to-pypi.yml +++ b/.github/workflows/release-to-pypi.yml @@ -18,7 +18,7 @@ jobs: python-version: 3.8 - name: Install poetry - uses: snok/install-poetry@v1.1.2 + uses: snok/install-poetry@v1.3.4 with: version: 1.1.5 virtualenvs-create: true