From 7c1848cb26d53c408155ecd92cefd1ed4c30b04f Mon Sep 17 00:00:00 2001 From: Stefan Lohmaier Date: Mon, 11 May 2026 22:04:40 -0700 Subject: [PATCH] ci: drop explicit container image, use runner default (has node) --- .gitea/workflows/validate.yml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/validate.yml b/.gitea/workflows/validate.yml index 68bde98..f7b7fde 100644 --- a/.gitea/workflows/validate.yml +++ b/.gitea/workflows/validate.yml @@ -9,23 +9,21 @@ on: jobs: build-and-test: runs-on: ubuntu-latest - container: - image: ubuntu:24.04 steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Install build dependencies run: | - apt-get update - apt-get install -y --no-install-recommends \ + sudo apt-get update + sudo apt-get install -y --no-install-recommends \ build-essential gcc make \ cppcheck \ lcov \ python3 python3-pip \ git ca-certificates - pip3 install --break-system-packages doorstop || true - - - name: Checkout - uses: actions/checkout@v4 + pip3 install --break-system-packages doorstop || pip3 install doorstop || true - name: Static Analysis (Cppcheck) run: make static @@ -43,7 +41,7 @@ jobs: - name: Doorstop Check run: | if [ -f .doorstop.yml ]; then - doorstop || echo "Doorstop not fully configured" + doorstop || echo "Doorstop check produced warnings" fi - name: Upload Coverage HTML @@ -53,9 +51,9 @@ jobs: name: coverage-html path: build/coverage-html/ - - name: Upload Cppcheck Report + - name: Upload Test Results uses: actions/upload-artifact@v3 if: always() with: - name: cppcheck-report - path: build/cppcheck-report.xml + name: test-output + path: build/