Merge pull request #1499 from nextcloud/fix/dependencies

Fix codecov action, auto-update actions
This commit is contained in:
Ferdinand Thiessen 2023-02-17 01:26:13 +01:00 коммит произвёл GitHub
Родитель 4feb957364 5386608cb2
Коммит 96943cf8f4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 51 добавлений и 6 удалений

45
.github/dependabot.yml поставляемый
Просмотреть файл

@ -1,6 +1,7 @@
version: 2
updates:
- package-ecosystem: composer
target-branch: "main"
directory: "/"
schedule:
interval: weekly
@ -11,7 +12,51 @@ updates:
labels:
- 3. to review
- dependencies
- package-ecosystem: npm
target-branch: "main"
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 10
labels:
- 3. to review
- dependencies
- package-ecosystem: github-actions
target-branch: "main"
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 10
labels:
- 3. to review
- dependencies
# Update stable2 until NC24 is out of support
- package-ecosystem: composer
target-branch: "stable2"
versioning-strategy: lockfile-only
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 10
labels:
- 3. to review
- dependencies
- package-ecosystem: npm
target-branch: "stable2"
versioning-strategy: lockfile-only
directory: "/"
schedule:
interval: weekly

12
.github/workflows/phpunit.yml поставляемый
Просмотреть файл

@ -77,19 +77,19 @@ jobs:
- name: Upload Unit coverage
if: matrix.php-versions == matrix.coverage-on
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
root_dir: apps/${{ env.APP_NAME }}
files: apps/${{ env.APP_NAME }}/tests/clover.unit.xml
root_dir: ./apps/${{ env.APP_NAME }}
files: ./apps/${{ env.APP_NAME }}/tests/clover.unit.xml
fail_ci_if_error: true
flags: unit
- name: Upload Integration coverage
if: matrix.php-versions == matrix.coverage-on
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
root_dir: apps/${{ env.APP_NAME }}
files: apps/${{ env.APP_NAME }}/tests/clover.integration.xml
root_dir: ./apps/${{ env.APP_NAME }}
files: ./apps/${{ env.APP_NAME }}/tests/clover.integration.xml
fail_ci_if_error: true
flags: integration