From a73f8c85db86fb909986d461022d8a8c3266fddd Mon Sep 17 00:00:00 2001 From: Ada Alakbarova Date: Thu, 11 Dec 2025 13:11:12 +0100 Subject: [PATCH] ci: set apt to non-interactive Currently, apt tries to initialize various frontends, but eventually realizes that none of them work, as it's run on CI. This commit stops it from trying in vain. --- .github/workflows/ci.yml | 5 +++++ .github/workflows/validate-desktop-files.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc2bae6..a54784b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,10 @@ name: Continuous integration +env: + # Stops the `debconf: unable to initialize frontend: {Dialog, Readline, Teletype}` errors + # See https://stackoverflow.com/a/34774096 + DEBIAN_FRONTEND: noninteractive + on: push: branches: [master] diff --git a/.github/workflows/validate-desktop-files.yml b/.github/workflows/validate-desktop-files.yml index 516e908..1230268 100644 --- a/.github/workflows/validate-desktop-files.yml +++ b/.github/workflows/validate-desktop-files.yml @@ -1,5 +1,10 @@ name: Validate .desktop files +env: + # Stops the `debconf: unable to initialize frontend: {Dialog, Readline, Teletype}` errors + # See https://stackoverflow.com/a/34774096 + DEBIAN_FRONTEND: noninteractive + on: push: branches: