feat: prepare for gitea actions
All checks were successful
Build / build (pull_request) Successful in 57s
All checks were successful
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:
parent
d2abbda668
commit
b218b4ef4e
24
.gitea/workflows/build.yaml
Normal file
24
.gitea/workflows/build.yaml
Normal 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
|
||||
@ -8,3 +8,8 @@ repos:
|
||||
"-d {extends: relaxed, rules: {line-length: disable}, ignore: chart}",
|
||||
"-s",
|
||||
]
|
||||
- repo: https://github.com/jorisroovers/gitlint
|
||||
rev: v0.19.1
|
||||
hooks:
|
||||
- id: gitlint
|
||||
stages: [commit-msg]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user