Skip to content

Commit 4b5a2e1

Browse files
authored
[CVAT] Fix oracles lint workflow (#2644)
* Install poetry via pipx in Dockerfile - https://python-poetry.org/docs/#ci-recommendations - https://github.com/pypa/pipx#on-linux * Install poetry via snok/install-poetry@v1 * Revert "Install poetry via pipx in Dockerfile" This reverts commit e2504dd.
1 parent 796cac8 commit 4b5a2e1

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/ci-lint-cvat-exchange-oracle.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v4
22-
- uses: actions/setup-python@v5
22+
- name: Install Poetry
23+
uses: snok/install-poetry@v1
2324
with:
24-
cache: 'pip'
25-
cache-dependency-path: ${{ env.WORKING_DIR }}/poetry.lock
26-
- run: python -m pip install poetry
25+
version: 1.8.4
2726
- uses: actions/setup-python@v5
2827
with:
2928
python-version: '3.10'

.github/workflows/ci-lint-cvat-recording-oracle.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v4
22-
- uses: actions/setup-python@v5
22+
- name: Install Poetry
23+
uses: snok/install-poetry@v1
2324
with:
24-
cache: 'pip'
25-
cache-dependency-path: ${{ env.WORKING_DIR }}/poetry.lock
26-
- run: python -m pip install poetry
25+
version: 1.8.4
2726
- uses: actions/setup-python@v5
2827
with:
2928
python-version: '3.10'

0 commit comments

Comments
 (0)