build: inline external Github Actions to unblock CI (#12241)

* build: inline cached-dependencies to unblock CI

* Run E2E on pull_request on;y

* Inline all external actions

* Checkout needed for internal actions

Also fixes pre-commit

* Add missing files
This commit is contained in:
Jesse Yang
2021-01-04 04:16:07 -08:00
committed by GitHub
parent 7cc0de1694
commit a3bbbf8ea3
173 changed files with 48871 additions and 78 deletions

View File

@@ -10,10 +10,6 @@ jobs:
matrix:
python-version: [3.7]
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.6.0
with:
access_token: ${{ github.token }}
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python
@@ -21,7 +17,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
uses: apache-superset/cached-dependencies@b90713b
uses: ./.github/actions/cached-dependencies
with:
run: |
apt-get-install
@@ -37,10 +33,6 @@ jobs:
matrix:
python-version: [3.7]
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.6.0
with:
access_token: ${{ github.token }}
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python
@@ -48,7 +40,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
uses: apache-superset/cached-dependencies@b90713b
uses: ./.github/actions/cached-dependencies
with:
run: |
apt-get-install
@@ -63,10 +55,6 @@ jobs:
matrix:
python-version: [3.7]
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.6.0
with:
access_token: ${{ github.token }}
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python
@@ -74,7 +62,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
uses: apache-superset/cached-dependencies@b90713b
uses: ./.github/actions/cached-dependencies
with:
run: |
apt-get-install