feat: add woodpecker ci jobs (#450)

- pre-commit job to run pre-commit against

Reviewed-on: #450
This commit is contained in:
Ben Vincent 2026-02-28 17:30:23 +11:00
parent bc769aa1df
commit 8bb40dadce
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