ci: drop explicit container image, use runner default (has node)
Validate / build-and-test (push) Successful in 1m31s

This commit is contained in:
Stefan Lohmaier
2026-05-11 22:04:40 -07:00
parent 6bf378f76b
commit 7c1848cb26
+10 -12
View File
@@ -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/