feat: prepare for gitea actions
Build / build (pull_request) Successful in 57s

- add actions workflow
- add makefile with build/clean targets
- add .gitignore file
- update pre-commit hooks
This commit is contained in:
2024-11-17 19:55:36 +11:00
parent d2abbda668
commit b218b4ef4e
3 changed files with 38 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
name: Build
on:
pull_request:
jobs:
build:
runs-on: almalinux-8
container:
image: git.query.consul/unkin/almalinux8:latest
options: --privileged
steps:
- name: Set up environment
run: |
dnf module enable -y nodejs:20
dnf install -y make bash git nodejs python3.11
- name: Checkout code
uses: actions/checkout@v3
- name: Run pre-commit
run: |
make build