Fix revision history tables in documentation and resolve CI workflow errors #35
2
.github/workflows/joomla_testing.yml
vendored
2
.github/workflows/joomla_testing.yml
vendored
@@ -243,6 +243,8 @@ jobs:
|
|||||||
${{ runner.os }}-composer-
|
${{ runner.os }}-composer-
|
||||||
|
|
||||||
- name: Install Codeception
|
- name: Install Codeception
|
||||||
|
env:
|
||||||
|
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
|
||||||
run: |
|
run: |
|
||||||
|
|
|||||||
composer global require codeception/codeception
|
composer global require codeception/codeception
|
||||||
composer global require codeception/module-db
|
composer global require codeception/module-db
|
||||||
|
|||||||
6
.github/workflows/php_quality.yml
vendored
6
.github/workflows/php_quality.yml
vendored
@@ -49,6 +49,8 @@ jobs:
|
|||||||
${{ runner.os }}-composer-
|
${{ runner.os }}-composer-
|
||||||
|
|
||||||
- name: Install PHP_CodeSniffer
|
- name: Install PHP_CodeSniffer
|
||||||
|
env:
|
||||||
|
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
|
||||||
run: |
|
run: |
|
||||||
composer global require "squizlabs/php_codesniffer:^3.0" --with-all-dependencies
|
composer global require "squizlabs/php_codesniffer:^3.0" --with-all-dependencies
|
||||||
composer global require "phpcompatibility/php-compatibility:^9.0" --with-all-dependencies
|
composer global require "phpcompatibility/php-compatibility:^9.0" --with-all-dependencies
|
||||||
@@ -103,6 +105,8 @@ jobs:
|
|||||||
${{ runner.os }}-composer-
|
${{ runner.os }}-composer-
|
||||||
|
|
||||||
- name: Install PHPStan
|
- name: Install PHPStan
|
||||||
|
env:
|
||||||
|
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
|
||||||
run: |
|
run: |
|
||||||
composer global require phpstan/phpstan "^1.0" --with-all-dependencies
|
composer global require phpstan/phpstan "^1.0" --with-all-dependencies
|
||||||
composer global require phpstan/extension-installer "^1.0" --with-all-dependencies
|
composer global require phpstan/extension-installer "^1.0" --with-all-dependencies
|
||||||
|
The cache key uses The cache key uses `hashFiles('**/composer.lock')` but there is no composer.lock file in this repository. This means the hash will always return an empty string, making the cache key effectively `${{ runner.os }}-composer-phpstan-${{ matrix.php-version }}-`, which is the same as the restore-key. This doesn't break functionality but makes the cache key less specific than intended. Since this is a global composer installation (not project-specific), consider either removing the hashFiles part or using a static cache key.
```suggestion
key: ${{ runner.os }}-composer-phpstan-${{ matrix.php-version }}
```
|
|||||||
@@ -150,6 +154,8 @@ jobs:
|
|||||||
${{ runner.os }}-composer-
|
${{ runner.os }}-composer-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
env:
|
||||||
|
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
|
||||||
run: |
|
run: |
|
||||||
composer global require "squizlabs/php_codesniffer:^3.0" --with-all-dependencies
|
composer global require "squizlabs/php_codesniffer:^3.0" --with-all-dependencies
|
||||||
composer global require "phpcompatibility/php-compatibility:^9.0" --with-all-dependencies
|
composer global require "phpcompatibility/php-compatibility:^9.0" --with-all-dependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user
The cache key uses
hashFiles('**/composer.lock')but there is no composer.lock file in this repository. This means the hash will always return an empty string, making the cache key effectively${{ runner.os }}-composer-codeception-8.1-, which is the same as the restore-key. This doesn't break functionality but makes the cache key less specific than intended. Since this is a global composer installation (not project-specific), consider either removing the hashFiles part or using a static cache key.