Skip to content

Commit 05207cb

Browse files
committed
join GitHub workflow jobs into one #7
1 parent 163da3b commit 05207cb

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

Diff for: .github/workflows/php.yml

+2-13
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ permissions:
1010
contents: "read"
1111
jobs:
1212
# PHP lint for different PHP versions
13-
lint:
13+
build:
1414
runs-on: "ubuntu-latest"
1515
strategy:
1616
matrix:
1717
php-version:
1818
- "7.4"
1919
- "8.1"
20-
name: "PHP ${{ matrix.php-version }} lint"
20+
name: "PHP ${{ matrix.php-version }}"
2121
steps:
2222
- # git checkout
2323
name: "git checkout"
@@ -37,17 +37,6 @@ jobs:
3737
echo -n "==> ${file}: ";
3838
php -l "${file}";
3939
done
40-
# install composer packages and validate coding standards
41-
build:
42-
runs-on: ubuntu-latest
43-
name: "PHP composer & CodeSniffer"
44-
steps:
45-
- # git checkout
46-
name: "git checkout"
47-
uses: "actions/checkout@v3"
48-
- # Check PHP version
49-
name: "Check PHP version"
50-
run: "php -v"
5140
- # Validate composer.json and composer.lock
5241
name: "Validate composer.json and composer.lock"
5342
run: "composer validate --strict"

0 commit comments

Comments
 (0)