Skip to content

Commit

Permalink
Merge pull request #2 from larsks/feature/action-updates
Browse files Browse the repository at this point in the history
Update action and pre-commit hook versions
  • Loading branch information
knikolla authored May 24, 2024
2 parents 518104b + 9e45e8e commit 9ba0224
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Set update schedule for GitHub Actions

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.0
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/action@v3.0.1
11 changes: 7 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
repos:
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.11
rev: v1.5.5
hooks:
- id: remove-tabs
- id: remove-crlf

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: check-merge-conflict
Expand All @@ -14,5 +15,7 @@ repos:
- id: check-case-conflict
- id: detect-private-key

- id: check-yaml
args: [--allow-multiple-documents]
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
hooks:
- id: yamllint
7 changes: 7 additions & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
extends: default

rules:
line-length: disable
document-start: disable
indentation:
indent-sequences: whatever

0 comments on commit 9ba0224

Please sign in to comment.