From 4c87aca35ddefc054c6b9a50eebd2dfed3c905d9 Mon Sep 17 00:00:00 2001 From: Kyle King Date: Sat, 8 Apr 2023 14:44:42 -0400 Subject: [PATCH] build: copier update --- .copier-answers.yml | 2 +- .github/actions/setup/action.yml | 2 +- .github/workflows/upgrade-dependencies.yml | 5 ++++- .pre-commit-config.yaml | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index dec2aaac..bc6903ed 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -2,7 +2,7 @@ # Answer file maintained by Copier for: https://github.com/KyleKing/calcipy_template # DO NOT MODIFY THIS FILE. Edit by re-running copier and changing responses to the questions # Check into version control. -_commit: 1.4.2 +_commit: 1.5.0 _src_path: gh:KyleKing/calcipy_template author_email: dev.act.kyle@gmail.com author_name: Kyle King diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 5edb8058..e1f5d5c5 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -6,7 +6,7 @@ inputs: os: default: ubuntu-22.04 poetry-version: - default: 1.3.2 + default: 1.4.2 python-version: required: true diff --git a/.github/workflows/upgrade-dependencies.yml b/.github/workflows/upgrade-dependencies.yml index e46973c7..2246e7f8 100644 --- a/.github/workflows/upgrade-dependencies.yml +++ b/.github/workflows/upgrade-dependencies.yml @@ -35,9 +35,12 @@ jobs: - name: Upgrade Python dependencies run: poetry update + - name: Upgrade pre-commit dependencies + run: pip install pre-commit && pre-commit autoupdate + # Creates a PR against the checked-out branch - name: Create Pull Request - uses: peter-evans/create-pull-request@v4 + uses: peter-evans/create-pull-request@v5 with: title: "build: automated dependency upgrades" body: "Full log: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1f960885..118ae257 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -79,7 +79,7 @@ repos: args: [--never] files: calcipy/.*\.py - repo: https://github.com/KyleKing/calcipy - rev: 1.0.1 + rev: 1.2.1 hooks: - id: copier-forbidden-files - id: lint-fix