Update CI workflow to install nullmailer instead of ssmtp

Replacing ssmtp with nullmailer ensures better compatibility with the updated email delivery requirements. The DEBIAN_FRONTEND=noninteractive parameter was also added to avoid interactive prompts during installation.
This commit is contained in:
Winni Neessen 2024-10-26 16:45:07 +02:00
parent c33900ca29
commit a815c58571
Signed by: wneessen
GPG key ID: 385AC9889632126E

View file

@ -49,7 +49,7 @@ jobs:
check-latest: true check-latest: true
- name: Install sendmail - name: Install sendmail
run: | run: |
sudo apt-get -y update >/dev/null && sudo apt-get -y upgrade >/dev/null && sudo apt-get -y install ssmtp >/dev/null && which sendmail sudo apt-get -y update >/dev/null && sudo apt-get -y upgrade >/dev/null && sudo DEBIAN_FRONTEND=noninteractive apt-get -y install nullmailer >/dev/null && which sendmail
- name: Run go test - name: Run go test
if: success() if: success()
run: | run: |