Skip to content

Commit

Permalink
Merge pull request #14 from ewjoachim/cache-publish
Browse files Browse the repository at this point in the history
iterate on CI
  • Loading branch information
ewjoachim authored Apr 17, 2021
2 parents 58482b1 + bcb0aae commit 73524c3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v2

- name: Set up Python
id: setup-python
id: setup_python
uses: actions/setup-python@v2
with:
python_version: ${{ matrix.python_version }}
Expand All @@ -42,7 +42,7 @@ jobs:
with:
path: |
~/.cache/
key: ${{ steps.setup-python.output.python-version }}-${{ hashFiles('poetry.lock') }}-${{ hashFiles('.pre-commit-config.yaml') }}
key: ${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}-${{ hashFiles('.pre-commit-config.yaml') }}

- name: Install Poetry
run: pip install poetry
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,15 @@ jobs:
with:
python-version: 3.x

- name: Install Poetry
run: pip install poetry

- name: Install Dev dependencies
run: poetry install

- name: Pip, Pre-commit & Poetry caches
- name: Pip cache
uses: actions/cache@v2
with:
path: |
~/.cache/
key: ${{ steps.setup-python.output.python-version }}-${{ hashFiles('poetry.lock') }}-${{ hashFiles('.pre-commit-config.yaml') }}
~/.cache/pip
key: publish-cache

- name: Install Poetry
run: pip install poetry

- name: Wait for tests to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
Expand Down

0 comments on commit 73524c3

Please sign in to comment.