feat: add woodpecker ci jobs
All checks were successful
Build / precommit (pull_request) Successful in 3m59s
ci/woodpecker/pr/pre-commit Pipeline was successful

- add libffi to actions build (fix pre-commit issue)
- pre-commit job to run pre-commit against
This commit is contained in:
Ben Vincent 2026-02-28 16:57:05 +11:00
parent bc769aa1df
commit 01afad832c
2 changed files with 11 additions and 1 deletions

View File

@ -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: |

View 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