Skip to content

Commit

Permalink
Merge pull request #243 from Renumics/fix/ci-cache-pip-cache
Browse files Browse the repository at this point in the history
Use the right pip cache dir
  • Loading branch information
neindochoh authored Sep 21, 2023
2 parents dab2c2f + a3045e5 commit 6b39a69
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,6 @@ jobs:
- name: '🎨 Set up Chrome driver'
if: matrix.browser == 'chrome'
id: setup-chromedriver
with:
chromedriver-version: '115.0.5790.102'
uses: nanasess/setup-chromedriver@v2
- name: '🦊 Set up Gecko driver'
id: setup-geckodriver
Expand Down Expand Up @@ -373,14 +371,15 @@ jobs:
with:
fetch-depth: 0
- name: '🐍 Set up Poetry'
id: setup-poetry
uses: ./.github/actions/setup-poetry
with:
python-version: ${{ matrix.python-version }}
install-dependencies: false
- name: Cache pip cache folder
uses: actions/cache@v3
with:
path: ${{ needs.prepare-python.outputs.pip-cache-dir }}
path: ${{ steps.setup-poetry.outputs.pip-cache-dir }}
key: pip-cache-${{ runner.os }}-python-${{ matrix.python-version }}
- name: '📤 Restore Spotlight'
uses: actions/download-artifact@v3
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ files = [
]

[tool.ruff]
line-length = 100
ignore = [
"E501"
]
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_dynamic_versioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

errors = []

if not pyproject["tool"]["poetry"]["version"]:
if pyproject["tool"]["poetry"]["version"] != "0.0.0":
errors.append("Error: tool.poetry.version != 0.0.0")
if not pyproject["tool"]["poetry-dynamic-versioning"]["enable"]:
errors.append("Error: tool.poetry-dymamic-versioning.enable != true")
Expand Down

0 comments on commit 6b39a69

Please sign in to comment.