feat: add woodpecker ci jobs (#450)
- pre-commit job to run pre-commit against Reviewed-on: #450
This commit is contained in:
parent
bc769aa1df
commit
8bb40dadce
@ -17,7 +17,7 @@ jobs:
|
|||||||
- name: Install requirements
|
- name: Install requirements
|
||||||
run: |
|
run: |
|
||||||
dnf groupinstall -y "Development Tools" -y
|
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
|
- name: Pre-Commit All Files
|
||||||
run: |
|
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