Skip to content

Commit a722354

Browse files
fix: workflows
1 parent 015ce27 commit a722354

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
- name: Set PATH
1212
run: echo "${HOME}/.local/bin" >> $GITHUB_PATH
1313

14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
- name: Set up Python
16-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@v4
1717
with:
1818
python-version: "3.8"
1919

2020
- name: Install dependencies
2121
run: |
22-
curl -sSL https://install.python-poetry.org | python - --version 1.2.2
22+
curl -sSL https://install.python-poetry.org | python - --version 1.8.1
2323
poetry install
2424
2525
- name: Run tests

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
- name: Set PATH
1414
run: echo "${HOME}/.local/bin" >> $GITHUB_PATH
1515

16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v2
18+
uses: actions/setup-python@v4
1919
with:
2020
python-version: ${{ matrix.python-version }}
2121

2222
- name: Cache pip
23-
uses: actions/cache@v2
23+
uses: actions/cache@v4
2424
with:
2525
path: ~/.cache/pip
2626
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}-${ GITHUB_REF }
@@ -30,7 +30,7 @@ jobs:
3030
3131
- name: Install dependencies
3232
run: |
33-
curl -sSL https://install.python-poetry.org | python - --version 1.2.2
33+
curl -sSL https://install.python-poetry.org | python - --version 1.8.1
3434
poetry install
3535
3636
- name: Run tests
@@ -48,14 +48,14 @@ jobs:
4848
python-version: [3.8]
4949

5050
steps:
51-
- uses: actions/checkout@v2
51+
- uses: actions/checkout@v4
5252
- name: Set up Python ${{ matrix.python-version }}
53-
uses: actions/setup-python@v2
53+
uses: actions/setup-python@v4
5454
with:
5555
python-version: ${{ matrix.python-version }}
5656

5757
- name: Cache pip
58-
uses: actions/cache@v2
58+
uses: actions/cache@v4
5959
with:
6060
path: ~/.cache/pip
6161
key: ${{ runner.os }}-pip-${{ hashFiles('docs/source/requirements.txt') }}-${ GITHUB_REF }

0 commit comments

Comments
 (0)