diff --git a/.github/workflows/infection.yml b/.github/workflows/infection.yml new file mode 100644 index 0000000..c874fee --- /dev/null +++ b/.github/workflows/infection.yml @@ -0,0 +1,35 @@ +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow + +name: "Integrate" + +on: + push: + branches: + - "*.x" + +jobs: + mutation_testing: + name: "5️⃣ Mutation Testing" + runs-on: "ubuntu-latest" + steps: + - name: "Set up PHP" + uses: "shivammathur/setup-php@v2" + with: + php-version: "8.2" + extensions: "ctype, curl, dom, json, libxml, mbstring, openssl, phar, simplexml, sodium, tokenizer, xml, xmlwriter, zlib" + coverage: "xdebug" + + - name: "Checkout code" + uses: "actions/checkout@v4" + + - name: "Fetch Git base reference" + run: "git fetch --depth=1 origin ${GITHUB_BASE_REF}" + + - name: "Install dependencies" + uses: "ramsey/composer-install@v2" + with: + dependency-versions: "highest" + composer-options: "--optimize-autoloader" + + - name: "Execute Infection" + run: "make ci-mu" diff --git a/.github/workflows/integrate.yml b/.github/workflows/integrate.yml index 413a746..c28c5cb 100644 --- a/.github/workflows/integrate.yml +++ b/.github/workflows/integrate.yml @@ -157,35 +157,6 @@ jobs: run: | vendor/bin/deptrac analyse --fail-on-uncovered --no-cache - mutation_testing: - name: "5️⃣ Mutation Testing" - needs: - - "byte_level" - - "syntax_errors" - runs-on: "ubuntu-latest" - steps: - - name: "Set up PHP" - uses: "shivammathur/setup-php@v2" - with: - php-version: "8.2" - extensions: "ctype, curl, dom, json, libxml, mbstring, openssl, phar, simplexml, sodium, tokenizer, xml, xmlwriter, zlib" - coverage: "xdebug" - - - name: "Checkout code" - uses: "actions/checkout@v4" - - - name: "Fetch Git base reference" - run: "git fetch --depth=1 origin ${GITHUB_BASE_REF}" - - - name: "Install dependencies" - uses: "ramsey/composer-install@v3" - with: - dependency-versions: "highest" - composer-options: "--optimize-autoloader" - - - name: "Execute Infection" - run: "make ci-mu" - rector_checkstyle: name: "6️⃣ Rector Checkstyle" needs: diff --git a/.github/workflows/tweet.yml b/.github/workflows/tweet.yml deleted file mode 100644 index f7af6ff..0000000 --- a/.github/workflows/tweet.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: tweet -on: - push: - tags: - - '[0-9]+\.[0-9]+\.0' - release: - types: [ published ] - -jobs: - tweet: - runs-on: ubuntu-latest - steps: - - name: Tweet - uses: snow-actions/tweet@v1.4.0 - with: - status: | - We are proud to announce that ${{ github.repository }} · ${{ github.event.release.name }} - ${{ github.event.release.html_url }} is now released 🚀. #php #webpush - env: - CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }} - CONSUMER_API_SECRET_KEY: ${{ secrets.TWITTER_CONSUMER_API_SECRET }} - ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }} - ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} diff --git a/composer.json b/composer.json index 925cc51..ceb1e14 100644 --- a/composer.json +++ b/composer.json @@ -23,12 +23,12 @@ "symfony/http-kernel": "^6.2|^7.0" }, "require-dev": { - "doctrine/dbal": "^3.0", + "doctrine/dbal": "^3.0|^4.0", "doctrine/doctrine-bundle": "^2.0", "doctrine/doctrine-fixtures-bundle": "^3.4", - "doctrine/orm": "^2.6", + "doctrine/orm": "^2.6|^3.0", "ekino/phpstan-banned-code": "^1.0", - "infection/infection": "^0.27", + "infection/infection": "^0.28", "lcobucci/jwt": "^4.3|^5.0", "matthiasnoback/symfony-config-test": "^4.2|^5.0", "matthiasnoback/symfony-dependency-injection-test": "^4.2|^5.0", diff --git a/src/library/composer.json b/src/library/composer.json index 81144ec..17eadda 100644 --- a/src/library/composer.json +++ b/src/library/composer.json @@ -21,7 +21,7 @@ "psr/cache": "^1.0|^2.0|^3.0", "psr/clock": "^1.0", "psr/log": "^1.1|^2.0|^3.0", - "symfony/http-kernel": "^6.2" + "symfony/http-kernel": "^6.2|^7.0" }, "autoload": { "psr-4" : {