ci: run pre-commit hooks on push
All checks were successful
Push / static-analysis (push) Successful in 51s
All checks were successful
Push / static-analysis (push) Successful in 51s
This commit is contained in:
parent
5d537377c4
commit
3b09589811
1 changed files with 12 additions and 0 deletions
12
.forgejo/workflows/push.yml
Normal file
12
.forgejo/workflows/push.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
name: Push
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
static-analysis:
|
||||
runs-on: runner-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Validate Yaml
|
||||
run: pipx run pre-commit run check-yaml -a
|
||||
- name: Validate shell scripts
|
||||
run: pipx run pre-commit run shellcheck -a
|
Loading…
Reference in a new issue