From dbde5443f3a603266f798e165ef1b7fc00eefeda Mon Sep 17 00:00:00 2001 From: Timo Pollmeier Date: Tue, 14 Nov 2023 11:31:21 +0100 Subject: [PATCH 1/3] Add dependencies for "Build Documentation" workflow and run on PR Some missing dependencies have been added to the "Build XML documentation and upload coverage" job and the workflow is now run for any pull request on main, stable or oldstable to catch errors earlier. --- .github/workflows/build-docs.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index f1ec85dbb..9c9eb1c7a 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -3,6 +3,8 @@ name: 'Build Documentation' on: push: branches: [ main, stable, oldstable ] + pull_request: + branches: [ main, stable, oldstable ] jobs: generate-doc-and-upload-coverage: @@ -10,6 +12,11 @@ jobs: runs-on: ubuntu-latest container: greenbone/doxygen steps: + - name: Install gvmd doc dependencies + run: | + apt update + apt install --no-install-recommends -y xmltoman xsltproc + rm -rf /var/lib/apt/lists/* - name: Run the c lang coverage action uses: greenbone/actions/doc-coverage-clang@v3 From 8545b232ada4092e2da108a8a8d2a31fac40bc5a Mon Sep 17 00:00:00 2001 From: Timo Pollmeier Date: Tue, 14 Nov 2023 11:47:03 +0100 Subject: [PATCH 2/3] Add pkgconf to "Build Documentation", remove step to delete package lists --- .github/workflows/build-docs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 9c9eb1c7a..e7fe80107 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -15,8 +15,7 @@ jobs: - name: Install gvmd doc dependencies run: | apt update - apt install --no-install-recommends -y xmltoman xsltproc - rm -rf /var/lib/apt/lists/* + apt install --no-install-recommends -y pkgconf xmltoman xsltproc - name: Run the c lang coverage action uses: greenbone/actions/doc-coverage-clang@v3 From 30ea4e3e2388ed34b8df8201dab8ef3419e48114 Mon Sep 17 00:00:00 2001 From: Timo Pollmeier Date: Tue, 14 Nov 2023 11:52:37 +0100 Subject: [PATCH 3/3] Add graphviz dependency to "Build Documentation" --- .github/workflows/build-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index e7fe80107..12e4a811c 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -15,7 +15,7 @@ jobs: - name: Install gvmd doc dependencies run: | apt update - apt install --no-install-recommends -y pkgconf xmltoman xsltproc + apt install --no-install-recommends -y graphviz pkgconf xmltoman xsltproc - name: Run the c lang coverage action uses: greenbone/actions/doc-coverage-clang@v3