Skip to content

Commit e3eec2a

Browse files
authored
use maintainer-tools (#616)
1 parent fe41702 commit e3eec2a

File tree

5 files changed

+10
-108
lines changed

5 files changed

+10
-108
lines changed

.github/workflows/check-release.yml

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,8 @@ jobs:
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v2
17-
- name: Install Python
18-
uses: actions/setup-python@v2
19-
with:
20-
python-version: 3.9
21-
architecture: "x64"
22-
- name: Get pip cache dir
23-
id: pip-cache
24-
run: |
25-
echo "::set-output name=dir::$(pip cache dir)"
26-
- name: Cache pip
27-
uses: actions/cache@v2
28-
with:
29-
path: ${{ steps.pip-cache.outputs.dir }}
30-
key: ${{ runner.os }}-pip-${{ hashFiles('setup.cfg') }}
31-
restore-keys: |
32-
${{ runner.os }}-pip-
33-
${{ runner.os }}-pip-
34-
- name: Cache checked links
35-
if: ${{ matrix.group == 'link_check' }}
36-
uses: actions/cache@v2
37-
with:
38-
path: ~/.cache/pytest-link-check
39-
key: ${{ runner.os }}-linkcheck-${{ hashFiles('**/*.md', '**/*.rst') }}-md-links
40-
restore-keys: |
41-
${{ runner.os }}-linkcheck-
42-
- name: Upgrade packaging dependencies
43-
run: |
44-
pip install --upgrade pip setuptools wheel --user
17+
- name: Base Setup
18+
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
4519
- name: Install Dependencies
4620
run: |
4721
pip install -e .

.github/workflows/integration-tests.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,8 @@ jobs:
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v2
18-
- name: Install Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v2
20-
with:
21-
python-version: ${{ matrix.python-version }}
22-
architecture: "x64"
23-
- name: Upgrade packaging dependencies
24-
run: |
25-
pip install --upgrade pip setuptools wheel --user
26-
- name: Get pip cache dir
27-
id: pip-cache
28-
run: |
29-
echo "::set-output name=dir::$(pip cache dir)"
30-
- name: Cache pip
31-
uses: actions/cache@v2
32-
with:
33-
path: ${{ steps.pip-cache.outputs.dir }}
34-
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
35-
restore-keys: |
36-
${{ runner.os }}-pip-${{ matrix.python-version }}-
37-
${{ runner.os }}-pip-
18+
- name: Base Setup
19+
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
3820
- name: Install the Python dependencies
3921
run: |
4022
pip install -e ".[test]"

.github/workflows/python-linux.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -39,26 +39,8 @@ jobs:
3939
steps:
4040
- name: Checkout
4141
uses: actions/checkout@v2
42-
- name: Install Python ${{ matrix.python-version }}
43-
uses: actions/setup-python@v2
44-
with:
45-
python-version: ${{ matrix.python-version }}
46-
architecture: "x64"
47-
- name: Upgrade packaging dependencies
48-
run: |
49-
pip install --upgrade pip setuptools wheel --user
50-
- name: Get pip cache dir
51-
id: pip-cache
52-
run: |
53-
echo "::set-output name=dir::$(pip cache dir)"
54-
- name: Cache pip
55-
uses: actions/cache@v2
56-
with:
57-
path: ${{ steps.pip-cache.outputs.dir }}
58-
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
59-
restore-keys: |
60-
${{ runner.os }}-pip-${{ matrix.python-version }}-
61-
${{ runner.os }}-pip-
42+
- name: Base Setup
43+
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
6244
- name: Install the Python dependencies
6345
run: |
6446
pip install -e ".[test]" codecov

.github/workflows/python-macos.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,8 @@ jobs:
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v2
19-
- name: Install Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v2
21-
with:
22-
python-version: ${{ matrix.python-version }}
23-
architecture: "x64"
24-
- name: Upgrade packaging dependencies
25-
run: |
26-
pip install --upgrade pip setuptools wheel --user
27-
- name: Get pip cache dir
28-
id: pip-cache
29-
run: |
30-
echo "::set-output name=dir::$(pip cache dir)"
31-
- name: Cache pip
32-
uses: actions/cache@v2
33-
with:
34-
path: ${{ steps.pip-cache.outputs.dir }}
35-
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
36-
restore-keys: |
37-
${{ runner.os }}-pip-${{ matrix.python-version }}-
38-
${{ runner.os }}-pip-
19+
- name: Base Setup
20+
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
3921
- name: Install the Python dependencies
4022
run: |
4123
pip install -e .[test] codecov

.github/workflows/python-windows.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,8 @@ jobs:
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v2
18-
- name: Install Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v2
20-
with:
21-
python-version: ${{ matrix.python-version }}
22-
architecture: "x64"
23-
- name: Upgrade packaging dependencies
24-
run: |
25-
pip install --upgrade pip setuptools wheel --user
26-
- name: Get pip cache dir
27-
id: pip-cache
28-
run: |
29-
echo "::set-output name=dir::$(pip cache dir)"
30-
- name: Cache pip
31-
uses: actions/cache@v2
32-
with:
33-
path: ${{ steps.pip-cache.outputs.dir }}
34-
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
35-
restore-keys: |
36-
${{ runner.os }}-pip-${{ matrix.python-version }}-
37-
${{ runner.os }}-pip-
18+
- name: Base Setup
19+
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
3820
- name: Install the Python dependencies
3921
run: |
4022
pip install -e .[test]

0 commit comments

Comments
 (0)