Skip to content

Commit

Permalink
Upgrade poetry in github workflows (#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyburdi authored Jan 10, 2025
1 parent e9d9c96 commit 0826405
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.local # the path depends on the OS
key: poetry-${{ steps.python-version.outputs.PYTHON_VERSION }}-1 # increment to reset cache
key: poetry-${{ steps.python-version.outputs.PYTHON_VERSION }}-2 # increment to reset cache

- name: Install Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: 1.8.5
version: 2.0.0

- name: Install dependencies
run: poetry install --sync
Expand Down Expand Up @@ -66,13 +66,13 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.local # the path depends on the OS
key: poetry-${{ matrix.python-version }}-1 # increment to reset cache
key: poetry-${{ matrix.python-version }}-2 # increment to reset cache

- name: Install Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: 1.8.5
version: 2.0.0

- name: Install dependencies
run: poetry install --sync
Expand Down Expand Up @@ -147,13 +147,13 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.local # the path depends on the OS
key: poetry-${{ matrix.python-version }}-1 # increment to reset cache
key: poetry-${{ matrix.python-version }}-2 # increment to reset cache

- name: Install Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: 1.8.5
version: 2.0.0

- name: Install dependencies
run: poetry install --sync
Expand Down Expand Up @@ -219,13 +219,13 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.local # the path depends on the OS
key: poetry-3.10-1 # increment to reset cache
key: poetry-3.10-2 # increment to reset cache

- name: Install Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: 1.8.5
version: 2.0.0

- name: Install dependencies
run: poetry install --sync --only dev
Expand Down Expand Up @@ -274,13 +274,13 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.local # the path depends on the OS
key: poetry-3.8-1 # increment to reset cache
key: poetry-3.8-2 # increment to reset cache

- name: Install Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: 1.8.5
version: 2.0.0

- name: Get version from pyproject.toml for PR
id: pr_version
Expand Down Expand Up @@ -325,13 +325,13 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.local # the path depends on the OS
key: poetry-3.8-1 # increment to reset cache
key: poetry-3.8-2 # increment to reset cache

- name: Install Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: 1.8.5
version: 2.0.0

- name: Install dependencies
run: poetry install --sync # Needed for calling invoke
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/containerize-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.local # the path depends on the OS
key: poetry-1 # increment to reset cache
key: poetry-2 # increment to reset cache

- name: Install Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: 1.8.5
version: 2.0.0

- name: Install dependencies
run: poetry install --with dev,sql --sync
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.local # the path depends on the OS
key: poetry-1 # increment to reset cache
key: poetry-2 # increment to reset cache

- name: Install Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: 1.8.5
version: 2.0.0

- name: Install dependencies
run: poetry install --sync
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "great_expectations_cloud"
version = "20250109.0"
version = "20250110.0.dev0"
description = "Great Expectations Cloud"
authors = ["The Great Expectations Team <[email protected]>"]
repository = "https://github.com/great-expectations/cloud"
Expand Down

0 comments on commit 0826405

Please sign in to comment.