Skip to content

Commit

Permalink
Merge pull request #170 from beeware/dependabot/github_actions/action…
Browse files Browse the repository at this point in the history
…s/cache-4.1.0

Bump actions/cache from 4.0.2 to 4.1.0
  • Loading branch information
freakboy3742 authored Oct 7, 2024
2 parents 8acc161 + af473aa commit 8d1288f
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 8 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ updates:
interval: "weekly"
day: "sunday"
time: "20:00"

- package-ecosystem: "pip"
directory: "/"
schedule:
# Check for updates on Sunday, 8PM UTC
interval: "weekly"
day: "sunday"
time: "20:00"
2 changes: 1 addition & 1 deletion .github/workflows/app-build-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
sudo apt -y install --no-install-recommends socat xauth
- name: Cache Briefcase Tools
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.0
with:
key: briefcase-data|${{ steps.config.outputs.cache-key }}
path: ${{ steps.config.outputs.briefcase-data-dir }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: Pre-commit Checks
uses: ./.github/workflows/pre-commit-run.yml
with:
pre-commit-source: pre-commit
pre-commit-source: -r requirements.txt

test-docs-build-verify:
name: Verify Docs Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
.pre-commit-config.yaml
- name: Cache pre-commit
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.0
with:
path: ~/.cache/pre-commit
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
Expand Down
11 changes: 6 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ repos:
hooks:
- id: isort
args: [--profile=black, --split-on-trailing-comma, --combine-as]
- repo: https://github.com/PyCQA/docformatter
rev: v1.7.5
hooks:
- id: docformatter
args: [--in-place, --black]
# Docformatter 1.7.5 isn't compatible with Pre-commit 4.0
# - repo: https://github.com/PyCQA/docformatter
# rev: v1.7.5
# hooks:
# - id: docformatter
# args: [--in-place, --black]
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.8.0
hooks:
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pre-commit == 4.0.0

0 comments on commit 8d1288f

Please sign in to comment.