Skip to content

Commit acdb076

Browse files
authored
improve workflow naming
1 parent ac2f7a0 commit acdb076

File tree

2 files changed

+41
-44
lines changed

2 files changed

+41
-44
lines changed

.github/workflows/integrate.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "Integrate"
2+
3+
on:
4+
push:
5+
branches:
6+
- "master"
7+
pull_request:
8+
branches:
9+
- "master"
10+
11+
permissions:
12+
contents: "read"
13+
14+
jobs:
15+
test:
16+
runs-on: "ubuntu-latest"
17+
18+
strategy:
19+
matrix:
20+
php-version:
21+
- "7.4"
22+
- "8.0"
23+
24+
steps:
25+
- name: "Checkout repository"
26+
uses: "actions/checkout@v4"
27+
28+
- name: "Set up PHP"
29+
uses: "shivammathur/setup-php@v2"
30+
with:
31+
coverage: "none"
32+
php-version: "${{ matrix.php-version }}"
33+
34+
- name: "Install dependencies"
35+
run: "composer install --no-interaction --no-progress --prefer-dist"
36+
37+
- run: "./generate.sh"
38+
- run: "php -l wordpress-stubs.php"
39+
- run: "git diff --exit-code"
40+
- run: "php -f wordpress-stubs.php"
41+
- run: "composer run test"

.github/workflows/tests.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)