Skip to content

Commit 8dd14bb

Browse files
authored
Run linters with a little delay to prevent API limits
1 parent 91b398c commit 8dd14bb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/reusable_phplinter.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,25 @@ jobs:
4747
- name: Install overtrue/phplint (v3.4)
4848
if: inputs.php-version == '7.4'
4949
run: |
50+
sleep $((random % 10))
5051
phive install overtrue/phplint@~3.4.0 --force-accept-unsigned --target ./bin
5152
5253
- name: Install overtrue/phplint (v4.5)
5354
if: inputs.php-version == '8.0'
5455
run: |
56+
sleep $((random % 10))
5557
phive install overtrue/phplint@~4.5.0 --force-accept-unsigned --target ./bin
5658
5759
- name: Install overtrue/phplint (v9.4)
5860
if: inputs.php-version == '8.1'
5961
run: |
62+
sleep $((random % 10))
6063
phive install overtrue/phplint@~9.4.0 --force-accept-unsigned --target ./bin
6164
6265
- name: Install overtrue/phplint (v9.5)
6366
if: inputs.php-version != '7.4' && inputs.php-version != '8.0' && inputs.php-version != '8.1'
6467
run: |
68+
sleep $((random % 10))
6569
phive install overtrue/phplint@~9.5.0 --force-accept-unsigned --target ./bin
6670
6771
- name: Lint PHP files

0 commit comments

Comments
 (0)