Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/coding-standard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
dependencies:
- "locked"
php-version:
- "8.4"
- "8.5"
operating-system:
- "ubuntu-latest"

Expand All @@ -31,10 +31,8 @@ jobs:
- name: "Install PHP"
uses: "shivammathur/setup-php@2.36.0"
with:
coverage: "pcov"
php-version: "${{ matrix.php-version }}"
ini-values: memory_limit=-1
extensions: pdo_sqlite

- uses: ramsey/composer-install@3.1.1
with:
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/notify-on-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Notify new release

on:
release:
types: [published]

env:
NOTIFY_MESSAGE: |
We released ${{ github.event.release.tag_name }} of ${{ github.event.repository.name }}! See here for the changelog: ${{ github.event.release.html_url }}
#PHP #DDD #EventSourcing #PHPStan

jobs:
twitter:
runs-on: ubuntu-latest
steps:
- uses: eomm/why-don-t-you-tweet@v2
if: ${{ !github.event.repository.private }}
with:
# GitHub event payload
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release
tweet-message: ${{ env.NOTIFY_MESSAGE }}
env:
TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}

mastodon:
runs-on: ubuntu-latest
steps:
- uses: cbrgm/mastodon-github-action@v2
if: ${{ !github.event.repository.private }}
with:
message: ${{ env.NOTIFY_MESSAGE }}
access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}
url: ${{ secrets.MASTODON_URL }}
4 changes: 1 addition & 3 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
dependencies:
- "locked"
php-version:
- "8.4"
- "8.5"
operating-system:
- "ubuntu-latest"

Expand All @@ -31,10 +31,8 @@ jobs:
- name: "Install PHP"
uses: "shivammathur/setup-php@2.36.0"
with:
coverage: none
php-version: "${{ matrix.php-version }}"
ini-values: memory_limit=-1, opcache.enable_cli=1
extensions: pdo_sqlite

- uses: ramsey/composer-install@3.1.1
with:
Expand Down
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@
}
],
"require": {
"php": "~8.1 || ~8.2 || ~8.3 || 8.4",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
"phpstan/phpstan": "^2.1.20"
},
"require-dev": {
"patchlevel/coding-standard": "^1.3.0",
"patchlevel/event-sourcing": "dev-DCB",
"patchlevel/event-sourcing": "^3.4.0",
"phpstan/phpstan-strict-rules": "^2.0.4",
"roave/security-advisories": "dev-master",
"symfony/var-dumper": "^7.0.0"
"roave/security-advisories": "dev-master"
},
"config": {
"preferred-install": {
Expand Down
Loading