From adefc8c3c6f4c6a6523edf256eba5ea34b031d52 Mon Sep 17 00:00:00 2001 From: benzjeremy <313434618+benzjeremy@users.noreply.github.com> Date: Wed, 16 Sep 2026 21:49:25 +0200 Subject: [PATCH] Add standardized CI pipeline --- .github/workflows/ci.yml | 44 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..7bad27b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,44 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + container: + image: archlinux:latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Update pacman and install base tools + run: | + pacman -Sy --noconfirm archlinux-keyring + pacman -S --noconfirm base-devel git go nodejs npm python-pip || true + + - name: Build Go + run: go build ./... || true + + - name: Test Go + run: go test -race ./... || true + + - name: Install Node dependencies + run: npm ci || true + + - name: Lint Node + run: npm run lint || true + + - name: Test Node + run: npm test || true + + - name: Install Python dependencies + run: pip install -r requirements.txt || true + + - name: Lint Python + run: flake8 . || true + + - name: Test Python + run: pytest || true