feat: add ci build task (#342)

- a ci workflow for build tests
- run pre-commit against all files

Reviewed-on: #342
This commit was merged in pull request #342.
This commit is contained in:
2025-07-08 20:19:36 +10:00
parent be02d3d150
commit 40c57ede59
7 changed files with 34 additions and 10 deletions
+24
View File
@@ -0,0 +1,24 @@
name: Build
on:
pull_request:
jobs:
precommit:
runs-on: almalinux-8
container:
image: git.unkin.net/unkin/almalinux9-actionsdind:latest
options: --privileged
steps:
- name: Checkout code
uses: actions/checkout@v3
- 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
- name: Pre-Commit All Files
run: |
uvx pre-commit run --all-files