Skip to content

Commit f6cdd3d

Browse files
authored
chore(ci): update (#1)
1 parent 55863f1 commit f6cdd3d

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,25 @@ jobs:
1616
composer-validate:
1717
uses: zenstruck/.github/.github/workflows/php-composer-validate.yml@main
1818

19-
cs-check:
20-
uses: zenstruck/.github/.github/workflows/php-cs-fixer.yml@main
21-
with:
22-
php: 8.0
23-
2419
sca:
2520
uses: zenstruck/.github/.github/workflows/php-stan.yml@main
21+
22+
fixcs:
23+
name: Run php-cs-fixer
24+
needs: sync-with-template
25+
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: zenstruck/.github@php-cs-fixer
29+
with:
30+
php: 8
31+
key: ${{ secrets.GPG_PRIVATE_KEY }}
32+
33+
sync-with-template:
34+
name: Sync meta files
35+
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: zenstruck/.github@sync-with-template
39+
with:
40+
key: ${{ secrets.GPG_PRIVATE_KEY }}

0 commit comments

Comments
 (0)