Using the python action and the inbuild poetry cache (#261)

I have found out that the python setup action supports the use of the
poetry cache which increases the build speed.
This commit is contained in:
2023-10-24 21:49:09 +02:00
committed by GitHub
parent 647dab731e
commit 6d77867eb5
4 changed files with 120 additions and 145 deletions

View File

@ -20,10 +20,13 @@ jobs:
package_name: ${{ github.event.repository.name }}/${{ matrix.name }}
token: ${{ secrets.GITHUB_TOKEN }}
auto-update:
pre-commit-autoupdate:
name: pre-commit autoupdate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
- uses: actions/setup-python@v4
@ -35,7 +38,12 @@ jobs:
- uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
base: main
branch: update/pre-commit-hooks
title: Update pre-commit hooks
commit-message: 'chore: update pre-commit hooks'
body: Update versions of pre-commit hooks to latest version.
labels: chore
assignees: philipp-horstenkamp
reviewers: philipp-horstenkamp
delete-branch: true