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:
parent
29f1386e58
commit
a73f8c85db
2 changed files with 10 additions and 0 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
|
@ -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]
|
||||
|
|
|
|||
5
.github/workflows/validate-desktop-files.yml
vendored
5
.github/workflows/validate-desktop-files.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue