Skip to content

Commit

Permalink
Update cache action version
Browse files Browse the repository at this point in the history
  • Loading branch information
samamorgan committed Feb 29, 2024
1 parent 91d9c6e commit 77c0bf4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
installer-parallel: true

- name: Load cached environment
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/pre-commit-autoupdate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
installer-parallel: true

- name: Load cached environment
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
Expand All @@ -37,9 +37,13 @@ jobs:
id: poetry-install
run: poetry install --no-interaction --no-root

- name: Run pre-commit
- name: Update pre-commit hooks
run: poetry run pre-commit autoupdate --color=always

- name: Run pre-commit
run: poetry run pre-commit run --all-files
continue-on-error: true

- uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 77c0bf4

Please sign in to comment.