Use bash as default shell
This commit is contained in:
parent
f343ff885d
commit
9830d5a133
|
@ -19,7 +19,9 @@ jobs:
|
||||||
test:
|
test:
|
||||||
# The type of runner that the job will run on
|
# The type of runner that the job will run on
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
|
@ -35,7 +37,6 @@ jobs:
|
||||||
- name: Install packages and setup networking
|
- name: Install packages and setup networking
|
||||||
run: |
|
run: |
|
||||||
sudo -s <<END
|
sudo -s <<END
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
systemctl disable systemd-resolved --now
|
systemctl disable systemd-resolved --now
|
||||||
rm /etc/resolv.conf
|
rm /etc/resolv.conf
|
||||||
|
@ -99,7 +100,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
PYTHONUNBUFFERED: 1
|
PYTHONUNBUFFERED: 1
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
|
||||||
sudo chown 0:0 jlmkr ./test/test-jlmkr
|
sudo chown 0:0 jlmkr ./test/test-jlmkr
|
||||||
sudo bash ./test/test-jlmkr
|
sudo bash ./test/test-jlmkr
|
||||||
sudo ./test/test.sh
|
sudo ./test/test.sh
|
||||||
|
|
Loading…
Reference in New Issue