]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
ci: install and use bash across the board
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 3 Jun 2025 22:06:48 +0000 (23:06 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 5 Jun 2025 06:39:11 +0000 (01:39 -0500)
The upcoming CI rework will hard depend on some bash constructs. While
theoretically possible to make them dash compliant, I'm not sure it's
worth the effort. Just install bash and carry on.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/362
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
.github/actions/setup-os/setup-debian.sh
.github/actions/setup-os/setup-ubuntu.sh
.github/workflows/main.yml

index b8bf22e85219d7a23cc240aef76a96e83e53082d..9e0349f1f2dbced63e4fcd73ab486c0ce3b3667c 100755 (executable)
@@ -17,6 +17,7 @@ fi
 
 apt-get update
 apt-get install --yes \
+    bash \
     build-essential \
     clang \
     gcc-multilib \
index fc1ba89d0f2aed80bb339d2377e34edddc2e4d55..1e98beb97e92b7bc5f880ce3dc476ff53dd4b9f5 100755 (executable)
@@ -8,6 +8,7 @@ export DEBIAN_FRONTEND=noninteractive
 export TZ=Etc/UTC
 apt-get update
 apt-get install --yes \
+    bash \
     build-essential \
     curl \
     clang \
index f80396858ad0157ad9d1fa06678654f9f80da1a7..cfec11072af73a9b420deb3847a0457a4085ba86 100644 (file)
@@ -16,6 +16,10 @@ on:
 permissions:
   contents: read
 
+defaults:
+  run:
+    shell: bash
+
 jobs:
   build:
     env: