From 878ec19aa4a9c5d1b44df4ab97638607cfbdf31c Mon Sep 17 00:00:00 2001 From: John Carter Date: Sat, 14 Oct 2023 17:51:55 +1300 Subject: [PATCH] Add poetry + update to py3.11 --- .github/workflows/deploy.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 5babeda..22771c1 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -18,9 +18,16 @@ jobs: with: workload_identity_provider: ${{ vars.GCP_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ vars.GCP_SERVICE_ACCOUNT }} + - uses: actions/setup-python@v4 + with: + python-version: 3.11 + - name: Run image + uses: abatilo/actions-poetry@v2 + - name: Generate Requirements + run: poetry export - id: 'deploy' uses: 'google-github-actions/deploy-cloud-functions@v1' with: name: ${{ vars.GCP_CLOUD_FUNCTION_NAME }} - runtime: 'python310' + runtime: 'python311' entry_point: "update"