Skip to content

Commit 465c8c6

Browse files
committed
Fix
1 parent 7c334a1 commit 465c8c6

5 files changed

Lines changed: 10 additions & 8 deletions

File tree

.woodpecker/.build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ steps:
3333
commands:
3434
- export PLATFORM=${platform}
3535
- export PHP_VERSION=${php}
36-
- apk add bash
3736
- /bin/bash -e tests/makephar.sh
3837

3938
services:

.woodpecker/.cs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ steps:
2222
- tag
2323
- push
2424
commands:
25-
- apk add bash
2625
- tests/test.sh cs
2726

2827
psalm:
@@ -34,5 +33,4 @@ steps:
3433
- tag
3534
- push
3635
commands:
37-
- apk add bash
3836
- tests/test.sh psalm

.woodpecker/.test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ steps:
2929
BOT_TOKEN:
3030
from_secret: BOT_TOKEN
3131
commands:
32-
- apk add bash
3332
- tests/test.sh phpunit
3433

3534
test_light:
@@ -40,7 +39,6 @@ steps:
4039
- pull_request
4140
- push
4241
commands:
43-
- apk add bash
4442
- tests/test.sh phpunit-light
4543

4644
handshake:
@@ -52,5 +50,4 @@ steps:
5250
- tag
5351
- push
5452
commands:
55-
- apk add bash
5653
- tests/test.sh handshake

docs

tests/makephar.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,15 @@ php composer-setup.php
88
php -r "unlink('composer-setup.php');"
99
mv composer.phar /usr/local/bin/composer
1010

11-
apk add procps git unzip github-cli openssh
11+
apt-get install procps git unzip gh openssh-client
12+
sudo mkdir -p -m 755 /etc/apt/keyrings
13+
out=$(mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg
14+
cat $out | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null
15+
chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg
16+
mkdir -p -m 755 /etc/apt/sources.list.d
17+
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
18+
apt update
19+
apt install gh -y
1220

1321
git config --global --add safe.directory $PWD
1422

0 commit comments

Comments
 (0)