[monitoring-plugins] Update GitHub runner (#1810)

GitHub git at monitoring-plugins.org
Sun Nov 6 23:20:11 CET 2022


    Module: monitoring-plugins
    Branch: master
    Commit: f7f7309b99f9f0eb4176a4c7cb8e5991d23b5b74
    Author: Lorenz <12514511+RincewindsHat at users.noreply.github.com>
 Committer: GitHub <noreply at github.com>
      Date: Sun Nov  6 23:12:41 2022 +0100
       URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=f7f7309

Update GitHub runner (#1810)

* Update action/checkout to v3

* Format debian prepare script

---

 .github/prepare_debian.sh  | 61 ++++++++++++++++++++++++++++++++++------------
 .github/workflows/test.yml |  2 +-
 2 files changed, 46 insertions(+), 17 deletions(-)

diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh
index 4021c10..d8a76da 100755
--- a/.github/prepare_debian.sh
+++ b/.github/prepare_debian.sh
@@ -11,21 +11,51 @@ if [ $(lsb_release -is) = "Debian" ]; then
   apt-add-repository non-free
   apt-get update
 fi
-apt-get -y install perl autotools-dev libdbi-dev libldap2-dev libpq-dev libradcli-dev libnet-snmp-perl procps
-apt-get -y install libdbi0-dev libdbd-sqlite3 libssl-dev dnsutils snmp-mibs-downloader libsnmp-perl snmpd
-apt-get -y install fping snmp netcat-openbsd smbclient vsftpd apache2 ssl-cert postfix libhttp-daemon-ssl-perl
-apt-get -y install libdbd-sybase-perl libnet-dns-perl
-apt-get -y install slapd ldap-utils
-apt-get -y install gcc make autoconf automake gettext
-apt-get -y install faketime
-apt-get -y install libmonitoring-plugin-perl
-apt-get -y install libcurl4-openssl-dev
-apt-get -y install liburiparser-dev
-apt-get -y install squid
-apt-get -y install openssh-server
-apt-get -y install mariadb-server mariadb-client libmariadb-dev
-apt-get -y install cron iputils-ping
-apt-get -y install iproute2
+apt-get -y install perl \
+	autotools-dev \
+	libdbi-dev \
+	libldap2-dev \
+	libpq-dev \
+	libradcli-dev \
+	libnet-snmp-perl \
+	procps \
+	libdbi0-dev \
+	libdbd-sqlite3 \
+	libssl-dev \
+	dnsutils \
+	snmp-mibs-downloader \
+	libsnmp-perl \
+	snmpd \
+	fping \
+	snmp \
+	netcat-openbsd \
+	smbclient \
+	vsftpd \
+	apache2 \
+	ssl-cert \
+	postfix \
+	libhttp-daemon-ssl-perl \
+	libdbd-sybase-perl \
+	libnet-dns-perl \
+	slapd \
+	ldap-utils \
+	gcc \
+	make \
+	autoconf \
+	automake \
+	gettext \
+	faketime \
+	libmonitoring-plugin-perl \
+	libcurl4-openssl-dev \
+	liburiparser-dev \
+	squid \
+	openssh-server \
+	mariadb-server \
+	mariadb-client \
+	libmariadb-dev \
+	cron \
+	iputils-ping \
+	iproute2
 
 # remove ipv6 interface from hosts
 if [ $(ip addr show | grep "inet6 ::1" | wc -l) -eq "0" ]; then
@@ -37,7 +67,6 @@ ip addr show
 
 cat /etc/hosts
 
-
 # apache
 a2enmod ssl
 a2ensite default-ssl
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 0f93930..d2785a4 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -24,7 +24,7 @@ jobs:
           #...
     steps:
       - name: Git clone repository
-        uses: actions/checkout at v2
+        uses: actions/checkout at v3
       #- name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate
       #  uses: mxschmitt/action-tmate at v3
       - name: Run the tests on ${{ matrix.distro }}



More information about the Commits mailing list