Skip to content

Commit 99c1a73

Browse files
committed
Merge workflows into a single CI workflow
1 parent fdb1f2a commit 99c1a73

File tree

3 files changed

+31
-43
lines changed

3 files changed

+31
-43
lines changed
Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Tests
1+
name: CI
22

33
on:
44
push:
@@ -56,3 +56,33 @@ jobs:
5656
env:
5757
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858
if: ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
59+
60+
psalm:
61+
name: Psalm
62+
runs-on: ubuntu-latest
63+
64+
steps:
65+
- name: Checkout
66+
uses: actions/checkout@v4
67+
68+
- name: Setup PHP
69+
uses: shivammathur/setup-php@v2
70+
with:
71+
php-version: "8.3"
72+
73+
- name: Install composer dependencies (date-time)
74+
uses: ramsey/composer-install@v3
75+
76+
- name: Install composer dependencies (psalm)
77+
uses: ramsey/composer-install@v3
78+
with:
79+
working-directory: "tools/psalm"
80+
81+
- name: Run Psalm
82+
run: tools/psalm/vendor/bin/psalm --show-info=false --no-progress --config=tools/psalm/psalm.xml
83+
84+
coding-standard:
85+
name: Coding Standard
86+
uses: brick/coding-standard/.github/workflows/coding-standard.yml@v1
87+
with:
88+
working-directory: "tools/ecs"

.github/workflows/coding-standard.yml

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

.github/workflows/psalm.yml

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

0 commit comments

Comments
 (0)