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.
This commit is contained in:
Ada Alakbarova 2025-12-11 13:11:12 +01:00 committed by Michael Murphy
parent 29f1386e58
commit a73f8c85db
2 changed files with 10 additions and 0 deletions

View file

@ -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]

View file

@ -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: