Skip to content

Commit

Permalink
chore(ci): update (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond authored Dec 16, 2022
1 parent 55863f1 commit f6cdd3d
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,25 @@ jobs:
composer-validate:
uses: zenstruck/.github/.github/workflows/php-composer-validate.yml@main

cs-check:
uses: zenstruck/.github/.github/workflows/php-cs-fixer.yml@main
with:
php: 8.0

sca:
uses: zenstruck/.github/.github/workflows/php-stan.yml@main

fixcs:
name: Run php-cs-fixer
needs: sync-with-template
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
runs-on: ubuntu-latest
steps:
- uses: zenstruck/.github@php-cs-fixer
with:
php: 8
key: ${{ secrets.GPG_PRIVATE_KEY }}

sync-with-template:
name: Sync meta files
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
runs-on: ubuntu-latest
steps:
- uses: zenstruck/.github@sync-with-template
with:
key: ${{ secrets.GPG_PRIVATE_KEY }}

0 comments on commit f6cdd3d

Please sign in to comment.