From 5e220048abf9ce0b08deef166fddddf9eedec2c7 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Fri, 7 Oct 2022 10:21:14 -0700 Subject: [PATCH] [ci] add XML lint to dependency; enable xml format in CI --- .github/workflows/format.yaml | 2 ++ .github/workflows/install_dependencies_build.sh | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 8b473d603..5e2fe222e 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -19,6 +19,8 @@ jobs: config: - name: "C/C++" code_type: "-cpp" + - name: "XML" + code_type: "-xml" steps: - name: Cancel previous uses: styfle/cancel-workflow-action@0.9.1 diff --git a/.github/workflows/install_dependencies_build.sh b/.github/workflows/install_dependencies_build.sh index a9068e340..25354475c 100755 --- a/.github/workflows/install_dependencies_build.sh +++ b/.github/workflows/install_dependencies_build.sh @@ -59,4 +59,5 @@ sudo apt-get install -y \ clang-7 \ clang-8 \ clang-10 \ - clang-format-10 + clang-format-10 \ + libxml2-utils