feat: add woodpecker ci jobs
- add libffi to actions build (fix pre-commit issue) - pre-commit job to run pre-commit against
This commit is contained in:
parent
bc769aa1df
commit
01afad832c
@ -17,7 +17,7 @@ jobs:
|
||||
- name: Install requirements
|
||||
run: |
|
||||
dnf groupinstall -y "Development Tools" -y
|
||||
dnf install rubygems ruby-devel gcc make redhat-rpm-config glibc-headers glibc-devel -y
|
||||
dnf install rubygems ruby-devel gcc make redhat-rpm-config glibc-headers glibc-devel libffi libffi-devel -y
|
||||
|
||||
- name: Pre-Commit All Files
|
||||
run: |
|
||||
|
||||
10
.woodpecker/pre-commit.yaml
Normal file
10
.woodpecker/pre-commit.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
when:
|
||||
- event: pull_request
|
||||
|
||||
steps:
|
||||
- name: pre-commit
|
||||
image: git.unkin.net/unkin/almalinux9-base:latest
|
||||
commands:
|
||||
- dnf groupinstall -y "Development Tools" -y
|
||||
- dnf install uv rubygems ruby-devel gcc make redhat-rpm-config glibc-headers glibc-devel libffi libffi-devel -y
|
||||
- uvx pre-commit run --all-files
|
||||
Loading…
Reference in New Issue
Block a user