You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by yj...@apache.org on 2020/11/11 21:15:42 UTC

[incubator-superset] branch master updated: build: set actions/setup-python to v2 (#11644)

This is an automated email from the ASF dual-hosted git repository.

yjc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 7cbf21c  build: set actions/setup-python to v2 (#11644)
7cbf21c is described below

commit 7cbf21c39f557096fa64804bee79e820ee1f8479
Author: Jesse Yang <je...@airbnb.com>
AuthorDate: Wed Nov 11 13:15:05 2020 -0800

    build: set actions/setup-python to v2 (#11644)
    
    This upgrades the `setup-python` action and pins it to the latest v2,
    which suppresses the warnings about set-env and add-path:
    
        Error: The `set-env` command is deprecated and will be disabled on November 16th. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
---
 .github/workflows/superset-e2e.yml          |  2 +-
 .github/workflows/superset-python.yml       | 16 ++++++++--------
 .github/workflows/superset-translations.yml |  2 +-
 .github/workflows/test-hive.yml             |  2 +-
 .github/workflows/test-presto.yml           |  2 +-
 5 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/superset-e2e.yml b/.github/workflows/superset-e2e.yml
index 6fd4d15..2edc695 100644
--- a/.github/workflows/superset-e2e.yml
+++ b/.github/workflows/superset-e2e.yml
@@ -33,7 +33,7 @@ jobs:
     - name: Checkout code
       uses: actions/checkout@v2
     - name: Setup Python
-      uses: actions/setup-python@v2.1.1
+      uses: actions/setup-python@v2
       with:
         python-version: '3.7'
     - name: OS dependencies
diff --git a/.github/workflows/superset-python.yml b/.github/workflows/superset-python.yml
index 6bfe377..4221c88 100644
--- a/.github/workflows/superset-python.yml
+++ b/.github/workflows/superset-python.yml
@@ -13,7 +13,7 @@ jobs:
     - name: Checkout code
       uses: actions/checkout@v2
     - name: Setup Python
-      uses: actions/setup-python@v2.1.1
+      uses: actions/setup-python@v2
       with:
         python-version: ${{ matrix.python-version }}
     - name: Install dependencies
@@ -36,7 +36,7 @@ jobs:
     - name: Checkout code
       uses: actions/checkout@v2
     - name: Setup Python
-      uses: actions/setup-python@v2.1.1
+      uses: actions/setup-python@v2
       with:
         python-version: ${{ matrix.python-version }}
     - name: Install dependencies
@@ -58,7 +58,7 @@ jobs:
       - name: Checkout code
         uses: actions/checkout@v2
       - name: Setup Python
-        uses: actions/setup-python@v2.1.1
+        uses: actions/setup-python@v2
         with:
           python-version: ${{ matrix.python-version }}
       - name: Install dependencies
@@ -111,7 +111,7 @@ jobs:
       steps:
       - uses: actions/checkout@v2
       - name: Setup Python
-        uses: actions/setup-python@v2.1.1
+        uses: actions/setup-python@v2
         with:
           python-version: ${{ matrix.python-version }}
       - name: Install dependencies
@@ -168,7 +168,7 @@ jobs:
     - name: Start hadoop and hive
       run: docker-compose -f scripts/databases/hive/docker-compose.yml up -d
     - name: Setup Python
-      uses: actions/setup-python@v2.1.1
+      uses: actions/setup-python@v2
       with:
         python-version: ${{ matrix.python-version }}
     - name: Install dependencies
@@ -216,7 +216,7 @@ jobs:
     steps:
     - uses: actions/checkout@v2
     - name: Setup Python
-      uses: actions/setup-python@v2.1.1
+      uses: actions/setup-python@v2
       with:
         python-version: ${{ matrix.python-version }}
     - name: Install dependencies
@@ -262,7 +262,7 @@ jobs:
     steps:
     - uses: actions/checkout@v2
     - name: Setup Python
-      uses: actions/setup-python@v2.1.1
+      uses: actions/setup-python@v2
       with:
         python-version: ${{ matrix.python-version }}
     - name: Install dependencies
@@ -301,7 +301,7 @@ jobs:
     steps:
     - uses: actions/checkout@v2
     - name: Setup Python
-      uses: actions/setup-python@v2.1.1
+      uses: actions/setup-python@v2
       with:
         python-version: ${{ matrix.python-version }}
     - name: Install dependencies
diff --git a/.github/workflows/superset-translations.yml b/.github/workflows/superset-translations.yml
index 159744e..6f142ca 100644
--- a/.github/workflows/superset-translations.yml
+++ b/.github/workflows/superset-translations.yml
@@ -26,7 +26,7 @@ jobs:
       - name: Checkout code
         uses: actions/checkout@v2
       - name: Setup Python
-        uses: actions/setup-python@v2.1.1
+        uses: actions/setup-python@v2
         with:
           python-version: ${{ matrix.python-version }}
       - name: Install dependencies
diff --git a/.github/workflows/test-hive.yml b/.github/workflows/test-hive.yml
index 2571f4a..5e388c5 100644
--- a/.github/workflows/test-hive.yml
+++ b/.github/workflows/test-hive.yml
@@ -40,7 +40,7 @@ jobs:
     - name: Start hadoop and hive
       run: docker-compose -f scripts/databases/hive/docker-compose.yml up -d
     - name: Setup Python
-      uses: actions/setup-python@v2.1.1
+      uses: actions/setup-python@v2
       with:
         python-version: ${{ matrix.python-version }}
     - name: Install dependencies
diff --git a/.github/workflows/test-presto.yml b/.github/workflows/test-presto.yml
index 14ac0a8..43f0985 100644
--- a/.github/workflows/test-presto.yml
+++ b/.github/workflows/test-presto.yml
@@ -43,7 +43,7 @@ jobs:
       steps:
       - uses: actions/checkout@v2
       - name: Setup Python
-        uses: actions/setup-python@v2.1.1
+        uses: actions/setup-python@v2
         with:
           python-version: ${{ matrix.python-version }}
       - name: Install dependencies