Skip to content

Commit e62d731

Browse files
percevalwThomzoy
authored andcommitted
ci: update github actions
1 parent a566969 commit e62d731

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
Linting:
1010
runs-on: ubuntu-22.04
1111
steps:
12-
- uses: actions/checkout@v2
13-
- uses: actions/setup-python@v2
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-python@v4
1414
with:
1515
python-version: "3.9"
1616
- name: Set PY variable
1717
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
18-
- uses: actions/cache@v2
18+
- uses: actions/cache@v3
1919
with:
2020
path: ~/.cache/pre-commit
2121
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
@@ -33,9 +33,9 @@ jobs:
3333
matrix:
3434
python-version: ["3.7", "3.8", "3.9"]
3535
steps:
36-
- uses: actions/checkout@v2
36+
- uses: actions/checkout@v3
3737
- name: Set up Python
38-
uses: actions/setup-python@v2
38+
uses: actions/setup-python@v4
3939
with:
4040
python-version: ${{ matrix.python-version }}
4141
architecture: x64
@@ -83,8 +83,8 @@ jobs:
8383
Documentation:
8484
runs-on: ubuntu-22.04
8585
steps:
86-
- uses: actions/checkout@v2
87-
- uses: actions/setup-python@v2
86+
- uses: actions/checkout@v3
87+
- uses: actions/setup-python@v4
8888
with:
8989
python-version: "3.9"
9090
- uses: hynek/setup-cached-uv@v2
@@ -107,9 +107,9 @@ jobs:
107107
matrix:
108108
python-version: ["3.7", "3.8", "3.9"]
109109
steps:
110-
- uses: actions/checkout@v2
110+
- uses: actions/checkout@v3
111111
- name: Set up Python
112-
uses: actions/setup-python@v2
112+
uses: actions/setup-python@v4
113113
with:
114114
python-version: ${{ matrix.python-version }}
115115
architecture: x64

0 commit comments

Comments
 (0)