From 3351ca9260118c439991cf4f0559c815fdceeff8 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 6 Jul 2025 12:18:13 +1000 Subject: [PATCH] feat: add ci build task - a ci workflow for build tests - run pre-commit against all files --- .gitea/workflows/build.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..0ea6ace --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,19 @@ +name: Build + +on: + pull_request: + +jobs: + precommit: + runs-on: almalinux-8 + container: + image: git.query.consul/unkin/almalinux9-runnerdnd:latest + options: --privileged + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Pre-Commit All Files + run: | + uvx pre-commit run --all-files