From e81dfd929d14c59fb8367a0a1595af4b0999aaa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Sun, 21 Jul 2024 09:59:02 +0200 Subject: [PATCH] update workflows --- .github/dependabot.yml | 78 ++++++------- .github/renovate.json5 | 107 +++++++++++++++++- .github/workflows/analytics.yml | 6 +- .github/workflows/cleanup-caches.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/dependency-review.yml | 2 +- .github/workflows/install.yml | 11 +- .github/workflows/labels.yml | 2 +- .github/workflows/lint-workflow-files.yml | 6 +- .github/workflows/lock-closed-issues.yml | 2 +- .github/workflows/reactions.yml | 4 +- .github/workflows/release-drafter.yml | 2 +- .../workflows/renovate-config-validator.yml | 2 +- .github/workflows/validate.yml | 11 +- 14 files changed, 181 insertions(+), 56 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6803995..0e095fb 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -48,29 +48,30 @@ updates: # - '*' ignore: - - dependency-name: "laminas/laminas-servicemanager" - - dependency-name: "psr/container" - - dependency-name: "nikic/php-parser" - - dependency-name: "infection/infection" - - dependency-name: "psr/http-message" - - dependency-name: "psr/simple-cache" - - dependency-name: "illuminate/view" + - dependency-name: "browscap/browscap" + - dependency-name: "elasticsearch/elasticsearch" + - dependency-name: "endorphin-studio/browser-detector-tests" - dependency-name: "illuminate/config" - dependency-name: "illuminate/container" - dependency-name: "illuminate/contracts" - dependency-name: "illuminate/events" - dependency-name: "illuminate/filesystem" - - dependency-name: "endorphin-studio/browser-detector-tests" + - dependency-name: "illuminate/view" + - dependency-name: "infection/infection" - dependency-name: "laminas/laminas-diactoros" + - dependency-name: "laminas/laminas-servicemanager" + - dependency-name: "nikic/php-parser" + - dependency-name: "phpunit/phpunit" + - dependency-name: "predis/predis" + - dependency-name: "psr/container" + - dependency-name: "psr/http-message" + - dependency-name: "psr/log" + - dependency-name: "psr/simple-cache" - dependency-name: "symfony/console" + - dependency-name: "symfony/filesystem" - dependency-name: "symfony/finder" - - dependency-name: "symfony/yaml" - dependency-name: "symfony/http-foundation" - - dependency-name: "psr/log" - - dependency-name: "browscap/browscap" - - dependency-name: "symfony/filesystem" - - dependency-name: "predis/predis" - - dependency-name: "elasticsearch/elasticsearch" + - dependency-name: "symfony/yaml" # Disable rebasing for all pull requests rebase-strategy: "disabled" @@ -106,7 +107,7 @@ updates: labels: - "dependencies" - versioning-strategy: "widen" + versioning-strategy: "increase" target-branch: "master" @@ -115,10 +116,6 @@ updates: prefix: "npm (master)" ignore: - - dependency-name: "@vitest/coverage-istanbul" - - dependency-name: "@vitest/ui" - - dependency-name: "vitest" - - dependency-name: "supports-color" - dependency-name: "@localnerve/imagemin-gifsicle" - dependency-name: "@localnerve/imagemin-pngquant" - dependency-name: "@node-minify/core" @@ -128,10 +125,14 @@ updates: - dependency-name: "@typescript-eslint/parser" - dependency-name: "@typescript-eslint/typescript-estree" - dependency-name: "@vheemstra/vite-plugin-imagemin" + - dependency-name: "@vitest/coverage-istanbul" + - dependency-name: "@vitest/ui" - dependency-name: "cssnano" - dependency-name: "cssnano-preset-default" - dependency-name: "imagemin" - dependency-name: "postcss-load-config" + - dependency-name: "supports-color" + - dependency-name: "vitest" # Disable rebasing for all pull requests rebase-strategy: "disabled" @@ -218,29 +219,30 @@ updates: # - '*' ignore: - - dependency-name: "laminas/laminas-servicemanager" - - dependency-name: "psr/container" - - dependency-name: "nikic/php-parser" - - dependency-name: "infection/infection" - - dependency-name: "psr/http-message" - - dependency-name: "psr/simple-cache" - - dependency-name: "illuminate/view" + - dependency-name: "browscap/browscap" + - dependency-name: "elasticsearch/elasticsearch" + - dependency-name: "endorphin-studio/browser-detector-tests" - dependency-name: "illuminate/config" - dependency-name: "illuminate/container" - dependency-name: "illuminate/contracts" - dependency-name: "illuminate/events" - dependency-name: "illuminate/filesystem" - - dependency-name: "endorphin-studio/browser-detector-tests" + - dependency-name: "illuminate/view" + - dependency-name: "infection/infection" - dependency-name: "laminas/laminas-diactoros" + - dependency-name: "laminas/laminas-servicemanager" + - dependency-name: "nikic/php-parser" + - dependency-name: "phpunit/phpunit" + - dependency-name: "predis/predis" + - dependency-name: "psr/container" + - dependency-name: "psr/http-message" + - dependency-name: "psr/log" + - dependency-name: "psr/simple-cache" - dependency-name: "symfony/console" + - dependency-name: "symfony/filesystem" - dependency-name: "symfony/finder" - - dependency-name: "symfony/yaml" - dependency-name: "symfony/http-foundation" - - dependency-name: "psr/log" - - dependency-name: "browscap/browscap" - - dependency-name: "symfony/filesystem" - - dependency-name: "predis/predis" - - dependency-name: "elasticsearch/elasticsearch" + - dependency-name: "symfony/yaml" # Disable rebasing for all pull requests rebase-strategy: "disabled" @@ -276,7 +278,7 @@ updates: labels: - "dependencies" - versioning-strategy: "widen" + versioning-strategy: "increase" target-branch: "8.1" @@ -285,10 +287,6 @@ updates: prefix: "npm (8.1)" ignore: - - dependency-name: "@vitest/coverage-istanbul" - - dependency-name: "@vitest/ui" - - dependency-name: "vitest" - - dependency-name: "supports-color" - dependency-name: "@localnerve/imagemin-gifsicle" - dependency-name: "@localnerve/imagemin-pngquant" - dependency-name: "@node-minify/core" @@ -298,10 +296,14 @@ updates: - dependency-name: "@typescript-eslint/parser" - dependency-name: "@typescript-eslint/typescript-estree" - dependency-name: "@vheemstra/vite-plugin-imagemin" + - dependency-name: "@vitest/coverage-istanbul" + - dependency-name: "@vitest/ui" - dependency-name: "cssnano" - dependency-name: "cssnano-preset-default" - dependency-name: "imagemin" - dependency-name: "postcss-load-config" + - dependency-name: "supports-color" + - dependency-name: "vitest" # Disable rebasing for all pull requests rebase-strategy: "disabled" diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 0ee3828..45b6d0f 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -47,11 +47,114 @@ "schedule": ["before 4am on Sunday"], "packageRules": [ { - "matchPackageNames": ["nikic/php-parser", "infection/infection", "psr/container", "psr/http-message", "laminas/laminas-servicemanager", "psr/simple-cache", "illuminate/view", "illuminate/config", "illuminate/container", "illuminate/contracts", "illuminate/events", "illuminate/filesystem" ,"endorphin-studio/browser-detector-tests", "laminas/laminas-diactoros", "symfony/console", "symfony/finder", "symfony/yaml", "symfony/http-foundation", "psr/log", "browscap/browscap", "symfony/filesystem", "supports-color", "elasticsearch/elasticsearch", "predis/predis", "@localnerve/imagemin-gifsicle", "@localnerve/imagemin-pngquant", "@node-minify/core", "@node-minify/no-compress", "@node-minify/terser", "@typescript-eslint/eslint-plugin", "@typescript-eslint/parser", "@typescript-eslint/typescript-estree", "@vheemstra/vite-plugin-imagemin", "cssnano", "cssnano-preset-default", "imagemin", "postcss-load-config"], + "matchPackageNames": [ + "@localnerve/imagemin-gifsicle", + "@localnerve/imagemin-pngquant", + "@node-minify/core", + "@node-minify/no-compress", + "@node-minify/terser", + "@typescript-eslint/eslint-plugin", + "@typescript-eslint/parser", + "@typescript-eslint/typescript-estree", + "@vheemstra/vite-plugin-imagemin", + "browscap/browscap", + "cssnano", + "cssnano-preset-default", + "elasticsearch/elasticsearch", + "endorphin-studio/browser-detector-tests", + "illuminate/config", + "illuminate/container", + "illuminate/contracts", + "illuminate/events", + "illuminate/filesystem", + "illuminate/view", + "imagemin", + "infection/infection", + "laminas/laminas-diactoros", + "laminas/laminas-servicemanager", + "nikic/php-parser", + "phpunit/phpunit", + "postcss-load-config", + "predis/predis", + "psr/container", + "psr/http-message", + "psr/log", + "psr/simple-cache", + "supports-color", + "symfony/console", + "symfony/filesystem", + "symfony/finder", + "symfony/http-foundation", + "symfony/yaml" + ], "rangeStrategy": "widen" }, { - "matchPackageNames": ["vitest", "@vitest/coverage-istanbul", "@vitest/ui", "phpstan/phpstan", "phpunit/phpunit", "rector/rector", "rector/type-perfect", "friendsofphp/php-cs-fixer", "sirbrillig/phpcs-variable-analysis", "slevomat/coding-standard", "squizlabs/php_codesniffer", "laminas/laminas-i18n", "mimmi20/mezzio-setlocale-middleware", "mimmi20/coding-standard", "shivammathur/setup-php", "laminas/laminas-form", "laminas/laminas-i18n", "laminas/laminas-validator", "aws/aws-sdk-php", "raven-actions/actionlint"], + "matchPackageNames": [ + "@csstools/postcss-color-function", + "@csstools/postcss-color-mix-function", + "@csstools/postcss-exponential-functions", + "@csstools/postcss-font-format-keywords", + "@csstools/postcss-gradients-interpolation-method", + "@csstools/postcss-initial", + "@csstools/postcss-is-pseudo-class", + "@csstools/postcss-media-minmax", + "@csstools/postcss-media-queries-aspect-ratio-number-values", + "@csstools/postcss-nested-calc", + "@csstools/postcss-progressive-custom-properties", + "@csstools/postcss-text-decoration-shorthand", + "@csstools/postcss-trigonometric-functions", + "@types/node", + "@vitest/coverage-istanbul", + "@vitest/ui", + "autoprefixer", + "aws/aws-sdk-php", + "browserslist", + "eslint-plugin-prettier", + "friendsofphp/php-cs-fixer", + "laminas/laminas-authentication", + "laminas/laminas-form", + "laminas/laminas-i18n", + "laminas/laminas-validator", + "lilconfig", + "mezzio/mezzio", + "mimmi20/coding-standard", + "mimmi20/mezzio-setlocale-middleware", + "phpstan/phpstan", + "postcss", + "postcss-color-hex-alpha", + "postcss-color-rebeccapurple", + "postcss-custom-media", + "postcss-custom-properties", + "postcss-custom-selectors", + "postcss-image-set-function", + "postcss-import", + "postcss-nested", + "postcss-nesting", + "postcss-place", + "postcss-prefix-selector", + "postcss-prefixwrap", + "postcss-preset-env", + "postcss-pseudo-class-any-link", + "postcss-selector-not", + "prettier", + "prettier-eslint", + "raven-actions/actionlint", + "rector/rector", + "rector/type-perfect", + "sass", + "shivammathur/setup-php", + "sirbrillig/phpcs-variable-analysis", + "slevomat/coding-standard", + "squizlabs/php_codesniffer", + "stylelint", + "stylelint-config-standard", + "typescript", + "vite", + "vitest", + "vite-plugin-dts", + "yaml" + ], "enabled": false }, { diff --git a/.github/workflows/analytics.yml b/.github/workflows/analytics.yml index 71b4d2f..8bca4e4 100644 --- a/.github/workflows/analytics.yml +++ b/.github/workflows/analytics.yml @@ -44,6 +44,7 @@ jobs: matrix: operating-system: - "ubuntu-22.04" + - "ubuntu-24.04" php-version: # Should use the lowest supported version @@ -97,6 +98,7 @@ jobs: matrix: operating-system: - "ubuntu-22.04" + - "ubuntu-24.04" php-version: # Should use the lowest supported version @@ -157,6 +159,7 @@ jobs: matrix: operating-system: - "ubuntu-22.04" + - "ubuntu-24.04" php-version: # Should use the lowest supported version @@ -208,6 +211,7 @@ jobs: matrix: operating-system: - "ubuntu-22.04" + - "ubuntu-24.04" php-version: # Should use the lowest supported version @@ -304,7 +308,7 @@ jobs: analytics-status: name: "Status Analytics" - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-24.04" if: always() diff --git a/.github/workflows/cleanup-caches.yml b/.github/workflows/cleanup-caches.yml index 3872521..123fbc8 100644 --- a/.github/workflows/cleanup-caches.yml +++ b/.github/workflows/cleanup-caches.yml @@ -12,7 +12,7 @@ on: jobs: cleanup: - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-24.04" steps: - name: "Checkout" uses: "actions/checkout@v4" diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index feced3a..9145f86 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -30,7 +30,7 @@ on: jobs: analyze: name: "Analyze" - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-24.04" permissions: actions: read contents: read diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index c2cbc67..26caba9 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -20,7 +20,7 @@ permissions: jobs: dependency-review: - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-24.04" steps: - name: "Checkout" diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index ef4e29c..e3a64d4 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -39,6 +39,7 @@ jobs: matrix: operating-system: - "ubuntu-22.04" + - "ubuntu-24.04" php-version: - "8.3" @@ -103,10 +104,16 @@ jobs: matrix: operating-system: - "ubuntu-22.04" + - "ubuntu-24.04" node-version: - "20" - - "22" + - "22.0" + - "22.1" + - "22.2" + - "22.3" + - "22.4" + - "22.5" steps: - name: "Checkout" @@ -133,7 +140,7 @@ jobs: install-status: name: "Install Status" - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-24.04" if: always() diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 5ab8235..b01b350 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -22,7 +22,7 @@ jobs: permissions: issues: write - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-24.04" steps: - name: "Checkout" diff --git a/.github/workflows/lint-workflow-files.yml b/.github/workflows/lint-workflow-files.yml index 9bb9e3f..108e847 100644 --- a/.github/workflows/lint-workflow-files.yml +++ b/.github/workflows/lint-workflow-files.yml @@ -7,7 +7,7 @@ on: jobs: actionlint: - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-24.04" steps: - name: "Checkout" @@ -21,10 +21,10 @@ jobs: - name: "install libimagequant-dev" run: "sudo apt-get install libimagequant-dev -y" - - name: "Use Node.js 22" + - name: "Use Node.js 22.4" uses: "actions/setup-node@v4" with: - node-version: "22" + node-version: "22.4" - name: "Check workflow files" uses: "raven-actions/actionlint@v2" diff --git a/.github/workflows/lock-closed-issues.yml b/.github/workflows/lock-closed-issues.yml index 505d796..c961707 100644 --- a/.github/workflows/lock-closed-issues.yml +++ b/.github/workflows/lock-closed-issues.yml @@ -11,7 +11,7 @@ on: jobs: lock: - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-24.04" steps: - uses: "Dunning-Kruger/lock-issues@v1.1" diff --git a/.github/workflows/reactions.yml b/.github/workflows/reactions.yml index 3b40033..9777265 100644 --- a/.github/workflows/reactions.yml +++ b/.github/workflows/reactions.yml @@ -21,8 +21,8 @@ permissions: jobs: action: - runs-on: "ubuntu-22.04" - + runs-on: "ubuntu-24.04" + steps: - uses: "dessant/reaction-comments@v4" with: diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 17e6027..12ecd42 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -31,7 +31,7 @@ jobs: # otherwise, read permission is required at least pull-requests: write - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-24.04" steps: # Drafts your next Release notes as Pull Requests are merged into "master" diff --git a/.github/workflows/renovate-config-validator.yml b/.github/workflows/renovate-config-validator.yml index 04889b8..578bdc8 100644 --- a/.github/workflows/renovate-config-validator.yml +++ b/.github/workflows/renovate-config-validator.yml @@ -6,7 +6,7 @@ on: jobs: validate: - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-24.04" steps: - name: "Checkout" diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 1d4e539..fd920a9 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -50,6 +50,7 @@ jobs: matrix: operating-system: - "ubuntu-22.04" + - "ubuntu-24.04" php-version: # Should use the lowest supported version @@ -93,6 +94,7 @@ jobs: matrix: operating-system: - "ubuntu-22.04" + - "ubuntu-24.04" steps: - name: "Checkout" @@ -119,6 +121,7 @@ jobs: matrix: operating-system: - "ubuntu-22.04" + - "ubuntu-24.04" steps: - name: "Checkout" @@ -150,6 +153,7 @@ jobs: matrix: operating-system: - "ubuntu-22.04" + - "ubuntu-24.04" php-version: # Should use the lowest supported version @@ -195,6 +199,7 @@ jobs: matrix: operating-system: - "ubuntu-22.04" + - "ubuntu-24.04" php-version: # Should use the lowest supported version @@ -245,6 +250,7 @@ jobs: matrix: operating-system: - "ubuntu-22.04" + - "ubuntu-24.04" php-version: # Should use the lowest supported version @@ -302,6 +308,7 @@ jobs: matrix: operating-system: - "ubuntu-22.04" + - "ubuntu-24.04" php-version: # Should use the lowest supported version @@ -359,6 +366,7 @@ jobs: matrix: operating-system: - "ubuntu-22.04" + - "ubuntu-24.04" php-version: # Should use the lowest supported version @@ -419,6 +427,7 @@ jobs: matrix: operating-system: - "ubuntu-22.04" + - "ubuntu-24.04" php-version: # Should use the lowest supported version @@ -467,7 +476,7 @@ jobs: lint-status: name: "Lint & Validate Status" - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-24.04" if: always()