Skip to content

Commit 5dd69b8

Browse files
Update GH actions as proposed by dependabot in #167, #168, #169, #170
* Bump pypa/gh-action-pypi-publish from 1.4.2 to 1.6.4 * Bump actions/cache from 1 to 3 * Bump pre-commit/action from 2.0.0 to 3.0.0 * Bump actions/setup-python from 3 to 4 * Also bumped Python version for coverage upload job
1 parent ece1116 commit 5dd69b8

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v3
1313
with:
1414
fetch-depth: 0
15-
- uses: actions/setup-python@v3
15+
- uses: actions/setup-python@v4
1616
with:
1717
python-version: "3.9"
1818
- name: Install dependencies
@@ -23,7 +23,7 @@ jobs:
2323
run: python -m build --sdist .
2424
env:
2525
BUILD_PYTENSOR_NIGHTLY: true
26-
- uses: pypa/gh-action-pypi-publish@v1.4.2
26+
- uses: pypa/gh-action-pypi-publish@v1.6.4
2727
with:
2828
user: __token__
2929
password: ${{ secrets.nightly_pypi_secret }}

.github/workflows/pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- uses: actions/checkout@v3
3131
with:
3232
fetch-depth: 0
33-
- uses: actions/setup-python@v3
33+
- uses: actions/setup-python@v4
3434
with:
3535
python-version: ${{ matrix.python-version }}
3636
- name: Build the sdist and the wheel
@@ -72,7 +72,7 @@ jobs:
7272
with:
7373
name: artifact
7474
path: dist
75-
- uses: pypa/gh-action-pypi-publish@master
75+
- uses: pypa/gh-action-pypi-publish@v1.6.4
7676
with:
7777
user: __token__
7878
password: ${{ secrets.pypi_secret }}

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ jobs:
5252
if: ${{ needs.changes.outputs.changes == 'true' }}
5353
steps:
5454
- uses: actions/checkout@v3
55-
- uses: actions/setup-python@v2
55+
- uses: actions/setup-python@v4
5656
with:
5757
python-version: '3.9'
58-
- uses: pre-commit/action@v2.0.0
58+
- uses: pre-commit/action@v3.0.0
5959

6060
test:
6161
name: "Test py${{ matrix.python-version }}: ${{ matrix.part }}"
@@ -179,7 +179,7 @@ jobs:
179179
env:
180180
PYTHON_VERSION: 3.9
181181
- name: Download previous benchmark data
182-
uses: actions/cache@v1
182+
uses: actions/cache@v3
183183
with:
184184
path: ./cache
185185
key: ${{ runner.os }}-benchmark
@@ -220,9 +220,9 @@ jobs:
220220
- uses: actions/checkout@v3
221221

222222
- name: Set up Python
223-
uses: actions/setup-python@v1
223+
uses: actions/setup-python@v4
224224
with:
225-
python-version: 3.7
225+
python-version: "3.10"
226226

227227
- name: Install dependencies
228228
run: |

0 commit comments

Comments
 (0)