Skip to content

Commit d56a547

Browse files
Update tests.yml
1 parent af81986 commit d56a547

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/tests.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: CI Workflow
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on: [pull_request]
48

59
jobs:
@@ -10,16 +14,21 @@ jobs:
1014
php-version: ['8.1']
1115
sdk: [Android11Java8, Android11Java11, Android12Java8, Android12Java11, CLINode14, CLINode16, DartBeta, DartStable, Deno1193, Deno1303, DotNet60, DotNet70, FlutterStable, FlutterBeta, Go112, Go118, KotlinJava8, KotlinJava11, KotlinJava17, Node12, Node14, Node16, PHP74, PHP80, Python38, Python39, Python310, Ruby27, Ruby30, Ruby31, AppleSwift55, Swift55, WebChromium, WebNode]
1216

13-
container:
14-
image: php:${{ matrix.php-version }}
15-
1617
steps:
17-
- name: Checkout code
18-
uses: actions/checkout@v2
18+
- name: Checkout repository
19+
uses: actions/checkout@v3
20+
with:
21+
submodules: recursive
1922

2023
- name: Docker Setup Buildx
2124
uses: docker/[email protected]
2225

26+
- name: Setup PHP with PECL extension
27+
uses: shivammathur/setup-php@v2
28+
with:
29+
php-version: ${{ matrix.php-version }}
30+
extensions: curl
31+
2332
- name: Before Install
2433
run: |
2534
if [ ! -z "${DOCKERHUB_PULL_USERNAME:-}" ]; then

0 commit comments

Comments
 (0)