Skip to content

Commit

Permalink
Merge pull request #644 from doctrine/phpstan-workflow
Browse files Browse the repository at this point in the history
Update reusable workflows
  • Loading branch information
SenseException authored Dec 17, 2024
2 parents aaa972e + 9721d99 commit bdfbb89
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 20 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- "CI"
4 changes: 3 additions & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ on: ["pull_request", "push"]
jobs:
coding-standards:
name: "Coding Standards"
uses: "doctrine/.github/.github/workflows/[email protected]"
uses: "doctrine/.github/.github/workflows/[email protected]"
with:
php-version: "8.3"
24 changes: 5 additions & 19 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,8 @@ name: "Static Analysis"
on: ["push", "pull_request"]

jobs:
code-analysis:

runs-on: "ubuntu-latest"

steps:
- uses: "actions/checkout@v4"

- name: "Setup PHP Action"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.3"

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
with:
composer-options: "--prefer-dist --no-progress --no-suggest"

- name: "Run PHPStan"
run: "./vendor/bin/phpstan analyse"
static-analysis:
name: "Static Analysis"
uses: "doctrine/.github/.github/workflows/[email protected]"
with:
php-version: "8.3"

0 comments on commit bdfbb89

Please sign in to comment.