Skip to content

Commit

Permalink
chore: add a pre-commit hook to check if pixi lock file is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
183amir committed Jul 10, 2024
1 parent 0ab1fcc commit e9198f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ jobs:
with:
python-version: "3.9"
- uses: pre-commit/[email protected]
env:
SKIP: pixi
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,10 @@ repos:
rev: v3.0.2
hooks:
- id: reuse
- repo: local
hooks:
- id: pixi
name: check outdated pixi.lock
language: system
entry: pixi list --locked
pass_filenames: false

0 comments on commit e9198f6

Please sign in to comment.