diff --git a/.github/workflows/integration_delivery.yml b/.github/workflows/integration_delivery.yml index 5212237..c0d7ec3 100644 --- a/.github/workflows/integration_delivery.yml +++ b/.github/workflows/integration_delivery.yml @@ -16,6 +16,15 @@ jobs: - uses: actions/checkout@v4 name: Checkout + - name: Save Cached Poetry + id: cached-poetry + uses: actions/cache@v4 + with: + path: | + ~/.cache + ~/.local + key: poetry-${{ hashFiles('poetry.lock') }} + - uses: actions/setup-python@v5 name: Setup Python with: @@ -30,15 +39,6 @@ jobs: - name: Install dependencies run: poetry install --with dev - - name: Save Cached Poetry - id: cached-poetry - uses: actions/cache/save@v4 - with: - path: | - ~/.cache - ~/.local - key: poetry-0 - type-check: name: Type Check needs: @@ -61,7 +61,7 @@ jobs: path: | ~/.cache ~/.local - key: poetry-0 + key: poetry-${{ hashFiles('poetry.lock') }} - name: Type Check run: poetry run poe typecheck @@ -88,7 +88,7 @@ jobs: path: | ~/.cache ~/.local - key: poetry-0 + key: poetry-${{ hashFiles('poetry.lock') }} - name: Lint run: poetry run poe lint @@ -104,8 +104,6 @@ jobs: steps: - uses: actions/checkout@v4 name: Checkout - with: - lfs: true - uses: actions/setup-python@v5 name: Setup Python @@ -120,7 +118,7 @@ jobs: path: | ~/.cache ~/.local - key: poetry-0 + key: poetry-${{ hashFiles('poetry.lock') }} - name: Build run: poetry build diff --git a/CHANGELOG.md b/CHANGELOG.md index 6484c0c..ace6ba7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Version 0.10.6 + +- chore: improve github workflow caching + ## Version 0.10.5 - fix: `self_workers` in `Store.__init__` -> local variable `workers` diff --git a/pyproject.toml b/pyproject.toml index e57d991..0e2eb06 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "python-redux" -version = "0.10.5" +version = "0.10.6" description = "Redux implementation for Python" authors = ["Sassan Haradji "] license = "Apache-2.0"