Skip to content

Commit 91f5182

Browse files
authored
Upgrade actions to newer versions (#390)
They use an older Node version which gives a lot of deprecation warnings in the CI.
1 parent 00876c6 commit 91f5182

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717
- name: Set up Python 3
18-
uses: actions/setup-python@v2
18+
uses: actions/setup-python@v4
1919
with:
2020
python-version: '3.x'
2121
- name: Generate docs

.github/workflows/python.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
check:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
- name: Set up Python 3.10
16-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@v4
1717
with:
1818
python-version: "3.10"
1919
- name: Install dependencies
@@ -32,9 +32,9 @@ jobs:
3232
python-version: ["3.8", "3.9", "3.10"]
3333

3434
steps:
35-
- uses: actions/checkout@v2
35+
- uses: actions/checkout@v3
3636
- name: Set up Python ${{ matrix.python-version }}
37-
uses: actions/setup-python@v2
37+
uses: actions/setup-python@v4
3838
with:
3939
python-version: ${{ matrix.python-version }}
4040
- name: Install dependencies
@@ -57,9 +57,9 @@ jobs:
5757
needs: build
5858
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
5959
steps:
60-
- uses: actions/checkout@v2
60+
- uses: actions/checkout@v3
6161
- name: Set up Python 3.10
62-
uses: actions/setup-python@v2
62+
uses: actions/setup-python@v4
6363
with:
6464
python-version: "3.10"
6565
- name: Run setup.py sdist

0 commit comments

Comments
 (0)