From 4c8ed9e669ed73049365d245257eb2641456c953 Mon Sep 17 00:00:00 2001 From: "Sergey A." Date: Fri, 15 Mar 2024 01:45:13 +0300 Subject: [PATCH] ci: simplify checking docs; bump checkout action For `DEBIAN_FRONTEND` environment variable see `man 7 debconf`: - https://manpages.debian.org/bookworm/debconf-doc/debconf.7.en.html#noninteractive --- .github/workflows/build.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 49f07bab..dfe16b63 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build run: | @@ -23,7 +23,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Check formatting run: | @@ -37,7 +37,11 @@ jobs: uses: actions/checkout@v2 - name: Check docs + env: + DEBIAN_FRONTEND: noninteractive run: | sudo apt update sudo apt install --no-install-recommends scdoc - for file in $(find . -type f -iwholename "./docs/*.scd"); do scdoc < $file > /dev/null; done + for file in ./docs/*.scd; do + scdoc < "$file" > /dev/null; + done