Skip to content

Commit 63ae99a

Browse files
committed
update workflows to actions/setup-python v4
1 parent 5f46c32 commit 63ae99a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/doc-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
restore-keys: |
3939
${{ runner.os }}-pip
4040
- name: Set up Python ${{ matrix.python-version }}
41-
uses: actions/setup-python@v1
41+
uses: actions/setup-python@v4
4242
with:
4343
python-version: ${{ matrix.python-version }}
4444
- name: Install package

.github/workflows/docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,20 @@ jobs:
5252
ref: main
5353

5454
- name: Set up Python ${{ matrix.python-version }}
55-
uses: actions/setup-python@v2
55+
uses: actions/setup-python@v4
5656
with:
5757
python-version: ${{ matrix.python-version }}
5858

5959
- name: Install package
6060
run: |
6161
python -m pip install --upgrade pip setuptools wheel
6262
# NOTE(stes) Pandoc version must be at least (2.14.2) but less than (4.0.0).
63-
# as of 29/10/23. Ubuntu 22.04 which is used for ubuntu-latest only has an
63+
# as of 29/10/23. Ubuntu 22.04 which is used for ubuntu-latest only has an
6464
# old pandoc version (2.9.). We will hence install the latest version manually.
6565
# previou: sudo apt-get install -y pandoc
66-
wget https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-1-amd64.deb
67-
sudo dpkg -i pandoc-3.1.9-1-amd64.deb
68-
rm pandoc-3.1.9-1-amd64.deb
66+
wget https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-1-amd64.deb
67+
sudo dpkg -i pandoc-3.1.9-1-amd64.deb
68+
rm pandoc-3.1.9-1-amd64.deb
6969
pip install torch --extra-index-url https://download.pytorch.org/whl/cpu
7070
pip install '.[docs]'
7171

0 commit comments

Comments
 (0)