generated from ergebnis/php-package-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #519 from mimmi20/updates
update configs
- Loading branch information
Showing
9 changed files
with
117 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,4 +36,4 @@ jobs: | |
done | ||
echo "Done" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,19 +19,69 @@ jobs: | |
|
||
uses: "mimmi20/mimmi20/.github/workflows/ci.yml@main" | ||
with: | ||
extensions: "ctype, dom, iconv, mbstring, simplexml, tokenizer, xml, xmlwriter" | ||
extensions: "curl, iconv, mbstring, intl, dom, simplexml, tokenizer, xml, xmlwriter" | ||
ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0" | ||
composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v" | ||
composer-outdated-option: "" | ||
skip-phpstan: true | ||
skip-phplint: true | ||
skip-rector: true | ||
skip-phpmd: true | ||
skip-psalm: true | ||
skip-composer-ununsed: false | ||
secrets: | ||
envPAT: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
# check-composer: | ||
# name: "Check composer dependencies" | ||
# | ||
# runs-on: "${{ matrix.operating-system }}" | ||
# timeout-minutes: 10 | ||
# continue-on-error: false | ||
# | ||
# needs: "ci" | ||
# | ||
# strategy: | ||
# fail-fast: false | ||
# | ||
# matrix: | ||
# operating-system: | ||
# - "ubuntu-20.04" | ||
# | ||
# php-version: | ||
# # Should use the lowest supported version | ||
# - "8.1" | ||
# | ||
# steps: | ||
# - name: "Checkout" | ||
# uses: "actions/checkout@v3" | ||
# with: | ||
# # Disabling shallow clone is recommended for improving relevancy of reporting | ||
# fetch-depth: 0 | ||
# lfs: false | ||
# persist-credentials: false | ||
# | ||
# - name: "Install PHP" | ||
# uses: "shivammathur/[email protected]" | ||
# with: | ||
# php-version: "${{ matrix.php-version }}" | ||
# extensions: "none, phar, json, opcache, curl, iconv, mbstring, ctype, dom, intl, simplexml, tokenizer, xml, xmlwriter" | ||
# ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0" | ||
# coverage: "none" | ||
# tools: "composer:v2, composer-unused" | ||
# env: | ||
# fail-fast: true | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# phpts: "nts" | ||
# debug: true | ||
# | ||
# - name: "Update dependencies with composer" | ||
# uses: "ramsey/[email protected]" | ||
# with: | ||
# dependency-versions: "${{ matrix.dependencies }}" | ||
# composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v" | ||
# | ||
# - name: "Check composer.json" | ||
# run: "composer-unused unused --ansi --no-progress --no-interaction --output-format=github" | ||
# | ||
# tests: | ||
# name: "UnitTests with PHPUnit" | ||
# | ||
|
@@ -49,8 +99,8 @@ jobs: | |
# - "ubuntu-20.04" | ||
# | ||
# php-version: | ||
# # Should use the lowest supported version | ||
# - "8.1" | ||
# - "8.2" | ||
# | ||
# dependencies: | ||
# - "lowest" | ||
|
@@ -65,20 +115,21 @@ jobs: | |
# persist-credentials: false | ||
# | ||
# - name: "Install PHP" | ||
# uses: "shivammathur/setup-php@2.23.0" | ||
# uses: "shivammathur/setup-php@2.25.5" | ||
# with: | ||
# php-version: "${{ matrix.php-version }}" | ||
# extensions: "none, phar, json, opcache, ${{ join(fromJson(needs.ci.outputs.extensions), ', ') }}" | ||
# extensions: "none, phar, json, opcache, curl, iconv, mbstring, dom, intl, simplexml, tokenizer, xml, xmlwriter" | ||
# ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0" | ||
# coverage: "none" | ||
# tools: "composer:v2" | ||
# env: | ||
# fail-fast: true | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# phpts: "nts" | ||
# debug: true | ||
# | ||
# - name: "Update dependencies with composer" | ||
# uses: "ramsey/composer-install@v2" | ||
# uses: "ramsey/composer-install@2.2.0" | ||
# with: | ||
# dependency-versions: "${{ matrix.dependencies }}" | ||
# composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v" | ||
|
@@ -89,9 +140,7 @@ jobs: | |
# code-coverage: | ||
# name: "Code Coverage with PHPUnit" | ||
# | ||
# needs: | ||
# - "ci" | ||
# - "tests" | ||
# needs: "tests" | ||
# | ||
# runs-on: "${{ matrix.operating-system }}" | ||
# timeout-minutes: 10 | ||
|
@@ -105,7 +154,6 @@ jobs: | |
# - "ubuntu-20.04" | ||
# | ||
# php-version: | ||
# # Should use the lowest supported version | ||
# - "8.1" | ||
# | ||
# dependencies: | ||
|
@@ -121,20 +169,21 @@ jobs: | |
# persist-credentials: false | ||
# | ||
# - name: "Install PHP" | ||
# uses: "shivammathur/setup-php@2.23.0" | ||
# uses: "shivammathur/setup-php@2.25.5" | ||
# with: | ||
# php-version: "${{ matrix.php-version }}" | ||
# extensions: "none, phar, json, opcache, ${{ join(fromJson(needs.ci.outputs.extensions), ', ') }}, ctype, intl, curl" | ||
# extensions: "none, phar, json, opcache, curl, iconv, mbstring, dom, intl, simplexml, tokenizer, xml, xmlwriter" | ||
# ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0, xdebug.mode=coverage" | ||
# coverage: "xdebug" | ||
# tools: "composer:v2" | ||
# env: | ||
# fail-fast: true | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# phpts: "nts" | ||
# debug: true | ||
# | ||
# - name: "Update dependencies with composer" | ||
# uses: "ramsey/composer-install@v2" | ||
# uses: "ramsey/composer-install@2.2.0" | ||
# with: | ||
# dependency-versions: "${{ matrix.dependencies }}" | ||
# composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v" | ||
|
@@ -146,7 +195,7 @@ jobs: | |
# run: "vendor/bin/phpunit -c phpunit.xml --coverage-clover=.build/coverage/clover.xml --coverage-text --coverage-xml=.build/coverage/coverage-xml --log-junit=.build/coverage/phpunit.junit.xml" | ||
# | ||
# - name: "Upload coverage to Codecov" | ||
# uses: "codecov/[email protected].1" | ||
# uses: "codecov/[email protected].4" | ||
# with: | ||
# file: ".build/coverage/clover.xml" | ||
# flags: "phpunit,php-${{ matrix.php-version }},${{ matrix.operating-system }}" | ||
|
@@ -161,11 +210,16 @@ jobs: | |
# # whenever we touch the matrix. | ||
# tests-status: | ||
# name: "Unit & Integration Tests Status" | ||
# | ||
# runs-on: "ubuntu-22.04" | ||
# | ||
# if: always() | ||
# | ||
# needs: | ||
# - "ci" | ||
# - "tests" | ||
# - "code-coverage" | ||
# if: always() | ||
# | ||
# steps: | ||
# - name: Successful run | ||
# if: ${{ !(contains(needs.*.result, 'failure')) }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
permissions: | ||
issues: write | ||
|
||
runs-on: ubuntu-latest | ||
runs-on: "ubuntu-22.04" | ||
|
||
steps: | ||
- name: "Checkout" | ||
|
@@ -33,7 +33,7 @@ jobs: | |
|
||
- uses: "micnncim/[email protected]" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_REPOSITORY: ${{ github.repository }} | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
GITHUB_REPOSITORY: "${{ github.repository }}" | ||
with: | ||
manifest: .github/labels.yml | ||
manifest: ".github/labels.yml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,8 @@ on: | |
|
||
jobs: | ||
lock: | ||
runs-on: ubuntu-latest | ||
runs-on: "ubuntu-22.04" | ||
steps: | ||
- uses: Dunning-Kruger/[email protected] | ||
- uses: "Dunning-Kruger/[email protected]" | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.