ci: add static analysis, sanitizers, and formatting enforcement #24

Merged
TapTap merged 15 commits from ci/tier1-review-automation into main 2026-07-19 18:10:07 +02:00
Showing only changes of commit 5ede5c8bec - Show all commits
+3 -6
View File
@@ -5,14 +5,11 @@ on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
container: gitea.tap-tap.win/taptap/fastsync-ci:v6
container: gitea.tap-tap.win/taptap/fastsync-ci:v7
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install lint tools
run: apt-get update && apt-get install -y cppcheck clang-format
- name: clang-format check
run: clang-format --dry-run --Werror src/ tests/
@@ -21,7 +18,7 @@ jobs:
build-and-test:
runs-on: ubuntu-latest
container: gitea.tap-tap.win/taptap/fastsync-ci:v6
container: gitea.tap-tap.win/taptap/fastsync-ci:v7
needs: lint
steps:
- name: Checkout
@@ -41,7 +38,7 @@ jobs:
sanitizers:
runs-on: ubuntu-latest
container: gitea.tap-tap.win/taptap/fastsync-ci:v6
container: gitea.tap-tap.win/taptap/fastsync-ci:v7
needs: lint
strategy:
matrix: