Merge pull request 'devshell: fix linking pre-commit' (#95) from Mic92-mic92 into main
All checks were successful
build / test (push) Successful in 21s
All checks were successful
build / test (push) Successful in 21s
This commit is contained in:
commit
a21e768142
@ -1,6 +1,8 @@
|
||||
name: build
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: main
|
||||
jobs:
|
||||
test:
|
||||
runs-on: nix
|
||||
|
@ -15,7 +15,7 @@
|
||||
self'.packages.merge-after-ci
|
||||
];
|
||||
shellHook = ''
|
||||
ln -sf ../../scripts/pre-commit .git/hooks/pre-commit
|
||||
ln -sf ../../scripts/pre-commit "$(git rev-parse --show-toplevel)/.git/hooks/pre-commit"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user