puppet-prod/.gitea/workflows/build.yaml
Ben Vincent 46beea21d2
Some checks failed
Build / precommit (pull_request) Failing after 4m6s
chore: update docker url
- update docker url to use git.unkin.net
- add steps to prepare container
2025-07-07 21:28:09 +10:00

25 lines
552 B
YAML

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