From f522fda49589f325048da991a8c0d108227c5e65 Mon Sep 17 00:00:00 2001 From: Phil Snyder Date: Mon, 14 Oct 2024 15:14:22 -0700 Subject: [PATCH] Specify python-version in actions/setup-python --- .github/workflows/upload-and-deploy-to-prod-main.yaml | 6 ++++-- .github/workflows/upload-and-deploy.yaml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/upload-and-deploy-to-prod-main.yaml b/.github/workflows/upload-and-deploy-to-prod-main.yaml index b8b65f7..929940b 100644 --- a/.github/workflows/upload-and-deploy-to-prod-main.yaml +++ b/.github/workflows/upload-and-deploy-to-prod-main.yaml @@ -16,7 +16,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 + with: + python-version: ${{ env.PYTHON_VERSION }} - uses: pre-commit/action@v3.0.0 @@ -125,7 +127,7 @@ jobs: cat $SNOWFLAKE_CONFIG_PATH - name: Install Snowflake CLI - uses: Snowflake-Labs/snowflake-cli-action@v1 + uses: Snowflake-Labs/snowflake-cli-action@v1.5 with: default-config-file-path: ${{ env.SNOWFLAKE_CONFIG_PATH }} diff --git a/.github/workflows/upload-and-deploy.yaml b/.github/workflows/upload-and-deploy.yaml index c7196f9..5420909 100755 --- a/.github/workflows/upload-and-deploy.yaml +++ b/.github/workflows/upload-and-deploy.yaml @@ -25,7 +25,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 + with: + python-version: ${{ env.PYTHON_VERSION }} - uses: pre-commit/action@v3.0.0 deploy-snowflake: @@ -66,7 +68,7 @@ jobs: cat $SNOWFLAKE_CONFIG_PATH - name: Install Snowflake CLI - uses: Snowflake-Labs/snowflake-cli-action@v1 + uses: Snowflake-Labs/snowflake-cli-action@v1.5 with: default-config-file-path: ${{ env.SNOWFLAKE_CONFIG_PATH }}