Skip to content

Commit

Permalink
fix: cache update for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikdevcom committed Nov 1, 2022
1 parent 0ad02fb commit 2733a0c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Download cache for pip
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: py-${{ matrix.python-version }}-poetry-pip-1.2.2
Expand All @@ -40,7 +40,7 @@ jobs:
run: pip install poetry==1.2.2
- name: Download cache for poetry
id: poetry-install
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ./.venv/
key: py-${{ matrix.python-version }}-poetry-install-${{ hashFiles('poetry.lock') }}
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Download cache for pre-commit
if: matrix.python-version == '3.10.7'
id: pre-commit-install
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: py-${{ matrix.python-version }}-pre-commit-install-${{ hashFiles('.pre-commit-config.yaml') }}
Expand Down Expand Up @@ -91,11 +91,11 @@ jobs:
if: github.ref == 'refs/heads/main'
steps:
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.10.7'
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Release
Expand Down

0 comments on commit 2733a0c

Please sign in to comment.