Skip to content

Commit

Permalink
ci: simplify checking docs; bump checkout action
Browse files Browse the repository at this point in the history
For `DEBIAN_FRONTEND` environment variable see `man 7 debconf`:

- https://manpages.debian.org/bookworm/debconf-doc/debconf.7.en.html#noninteractive
  • Loading branch information
murlakatamenka committed Mar 14, 2024
1 parent 0a83137 commit 4c8ed9e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Build
run: |
Expand All @@ -23,7 +23,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Check formatting
run: |
Expand All @@ -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

0 comments on commit 4c8ed9e

Please sign in to comment.