From c4a7f1ff4d65a9cfa38488103cd563e3f086b775 Mon Sep 17 00:00:00 2001 From: CrazyBoy49z Date: Mon, 10 Mar 2025 19:05:42 +0000 Subject: [PATCH 01/31] Update CHANGELOG --- CHANGELOG.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ff584b..0076bff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to `lazy-ui` will be documented in this file. -## 1.0.0 - -- Initial release +## v1.1.0 - 2025-03-10 + +**Full Changelog**: https://github.com/step2dev/lazy-ui/compare/v1.0.0...v1.0.0 +## 1.0.0 - + +- Initial release From 9a07a94bd7bc4714e4f6f707eae7a7cafe1f0b9d Mon Sep 17 00:00:00 2001 From: CrazyBoy49z <3448603+CrazyBoy49z@users.noreply.github.com> Date: Mon, 10 Mar 2025 19:07:40 +0000 Subject: [PATCH 02/31] Fix styling --- src/Components/Checkbox.php | 4 ++-- src/Components/Input.php | 4 ++-- src/Components/Radio.php | 4 ++-- src/Components/Range.php | 4 ++-- src/Components/Richtext.php | 4 ++-- src/Components/Select.php | 4 ++-- src/Components/Tabs.php | 2 +- src/Components/Textarea.php | 4 ++-- src/Components/Toggle.php | 4 ++-- src/Components/Tooltip.php | 2 +- src/LazyUiServiceProvider.php | 2 +- tests/Components/BadgeTest.php | 2 +- tests/Components/BtnDeleteTest.php | 4 ++-- tests/Components/BtnTest.php | 2 +- 14 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/Components/Checkbox.php b/src/Components/Checkbox.php index 4edb33f..943c741 100644 --- a/src/Components/Checkbox.php +++ b/src/Components/Checkbox.php @@ -24,7 +24,7 @@ public function render(): \Closure|View return view('lazy::checkbox', $this->mergeData($data, [ 'checkbox', - //colors + // colors 'checkbox-primary' => $color === 'primary', 'checkbox-secondary' => $color === 'secondary', 'checkbox-accent' => $color === 'accent', @@ -32,7 +32,7 @@ public function render(): \Closure|View 'checkbox-warning' => $color === 'warning', 'checkbox-info' => $color === 'info', 'checkbox-error' => $color === 'error', - //sizes + // sizes 'checkbox-lg' => $size === 'lg', 'checkbox-md' => $size === 'md', 'checkbox-sm' => $size === 'sm', diff --git a/src/Components/Input.php b/src/Components/Input.php index 7bd00ad..b5c4428 100644 --- a/src/Components/Input.php +++ b/src/Components/Input.php @@ -35,7 +35,7 @@ public function render(): \Closure|View return view('lazy::input', $this->mergeData($data, [ 'input', - //colors + // colors 'input-bordered' => ! $color || $color === 'bordered' || $color !== 'no-border', 'input-ghost' => $color === 'ghost', 'input-primary' => $color === 'primary', @@ -45,7 +45,7 @@ public function render(): \Closure|View 'input-success' => $color === 'success', 'input-warning' => $color === 'warning', 'input-error' => $color === 'error', - //sizes + // sizes 'input-lg' => $size === 'lg', 'input-md' => $size === 'md', 'input-sm' => $size === 'sm', diff --git a/src/Components/Radio.php b/src/Components/Radio.php index a08d263..90fdea1 100644 --- a/src/Components/Radio.php +++ b/src/Components/Radio.php @@ -19,7 +19,7 @@ public function render(): \Closure|View return view('lazy::radio', $this->mergeData($data, [ 'radio', - //colors + // colors 'radio-primary' => $color === 'primary', 'radio-secondary' => $color === 'secondary', 'radio-accent' => $color === 'accent', @@ -27,7 +27,7 @@ public function render(): \Closure|View 'radio-success' => $color === 'success', 'radio-warning' => $color === 'warning', 'radio-error' => $color === 'error', - //sizes + // sizes 'radio-lg' => $size === 'lg', 'radio-md' => $size === 'md', 'radio-sm' => $size === 'sm', diff --git a/src/Components/Range.php b/src/Components/Range.php index 61c6968..d42a139 100644 --- a/src/Components/Range.php +++ b/src/Components/Range.php @@ -29,7 +29,7 @@ public function render(): \Closure|View return view('lazy::range', $this->mergeData($data, [ 'range', - //colors + // colors 'range-primary' => $color === 'primary', 'range-secondary' => $color === 'secondary', 'range-accent' => $color === 'accent', @@ -37,7 +37,7 @@ public function render(): \Closure|View 'range-success' => $color === 'success', 'range-warning' => $color === 'warning', 'range-error' => $color === 'error', - //sizes + // sizes 'range-lg' => $size === 'lg', 'range-md' => $size === 'md', 'range-sm' => $size === 'sm', diff --git a/src/Components/Richtext.php b/src/Components/Richtext.php index a7863c5..1b3cfd0 100644 --- a/src/Components/Richtext.php +++ b/src/Components/Richtext.php @@ -34,7 +34,7 @@ public function render(): \Closure|View return view('lazy::richtext', $this->mergeData($data, [ 'textarea', - //colors + // colors 'textarea-bordered' => ! $color || $color === 'bordered' || $color !== 'no-border', 'textarea-ghost' => $color === 'ghost', 'textarea-primary' => $color === 'primary', @@ -44,7 +44,7 @@ public function render(): \Closure|View 'textarea-success' => $color === 'success', 'textarea-warning' => $color === 'warning', 'textarea-error' => $color === 'error', - //sizes + // sizes 'textarea-lg' => $size === 'lg', 'textarea-md' => $size === 'md', 'textarea-sm' => $size === 'sm', diff --git a/src/Components/Select.php b/src/Components/Select.php index 2537824..5960d48 100644 --- a/src/Components/Select.php +++ b/src/Components/Select.php @@ -35,7 +35,7 @@ public function render(): \Closure|View return view('lazy::select', $this->mergeData($data, [ 'select', - //colors + // colors 'select-bordered' => ! $color || $color === 'bordered' || $color !== 'no-border', 'select-ghost' => $color === 'ghost', 'select-primary' => $color === 'primary', @@ -45,7 +45,7 @@ public function render(): \Closure|View 'select-success' => $color === 'success', 'select-warning' => $color === 'warning', 'select-error' => $color === 'error', - //sizes + // sizes 'select-lg' => $size === 'lg', 'select-md' => $size === 'md', 'select-sm' => $size === 'sm', diff --git a/src/Components/Tabs.php b/src/Components/Tabs.php index 0458107..47f4c9d 100644 --- a/src/Components/Tabs.php +++ b/src/Components/Tabs.php @@ -32,7 +32,7 @@ public function render(): \Closure|View return view('lazy::tabs', $this->mergeData($data, [ 'tabs', 'tabs-boxed' => $this->type === 'boxed', - //sizes + // sizes 'tabs-lg' => $size === 'lg', 'tabs-md' => $size === 'md', 'tabs-sm' => $size === 'sm', diff --git a/src/Components/Textarea.php b/src/Components/Textarea.php index 70d5934..19ade25 100644 --- a/src/Components/Textarea.php +++ b/src/Components/Textarea.php @@ -26,7 +26,7 @@ public function render(): \Closure|View return view('lazy::textarea', $this->mergeData($data, [ 'textarea', - //colors + // colors 'textarea-bordered' => ! $color || $color === 'bordered' || $color !== 'no-border', 'textarea-ghost' => $color === 'ghost', 'textarea-primary' => $color === 'primary', @@ -36,7 +36,7 @@ public function render(): \Closure|View 'textarea-success' => $color === 'success', 'textarea-warning' => $color === 'warning', 'textarea-error' => $color === 'error', - //sizes + // sizes 'textarea-lg' => $size === 'lg', 'textarea-md' => $size === 'md', 'textarea-sm' => $size === 'sm', diff --git a/src/Components/Toggle.php b/src/Components/Toggle.php index bc88fd4..5b5b549 100644 --- a/src/Components/Toggle.php +++ b/src/Components/Toggle.php @@ -18,11 +18,11 @@ public function render(): \Closure|View return view('lazy::toggle', $this->mergeData($data, [ 'toggle', - //colors + // colors 'toggle-primary' => $color === 'primary', 'toggle-secondary' => $color === 'secondary', 'toggle-accent' => $color === 'accent', - //sizes + // sizes 'toggle-lg' => $size === 'lg', 'toggle-md' => $size === 'md', 'toggle-sm' => $size === 'sm', diff --git a/src/Components/Tooltip.php b/src/Components/Tooltip.php index d4ed234..888cfe3 100644 --- a/src/Components/Tooltip.php +++ b/src/Components/Tooltip.php @@ -24,7 +24,7 @@ public function render(): Closure 'tooltip-right' => $position === 'right', 'tooltip-bottom' => $position === 'bottom', 'tooltip-left' => $position === 'left', - //colors + // colors 'tooltip-primary' => $color === 'primary', 'tooltip-secondary' => $color === 'secondary', 'tooltip-accent' => $color === 'accent', diff --git a/src/LazyUiServiceProvider.php b/src/LazyUiServiceProvider.php index eef926d..102367a 100644 --- a/src/LazyUiServiceProvider.php +++ b/src/LazyUiServiceProvider.php @@ -77,7 +77,7 @@ public function configurePackage(Package $package): void ->hasConfigFile(['lazy/themes']) ->hasViewComponents('lazy', // Dropdown::class, - //Carousel::class, + // Carousel::class, Accordion::class, Alert::class, Avatar::class, diff --git a/tests/Components/BadgeTest.php b/tests/Components/BadgeTest.php index a181403..8e11557 100644 --- a/tests/Components/BadgeTest.php +++ b/tests/Components/BadgeTest.php @@ -5,7 +5,7 @@ use Step2dev\LazyUI\Components\Badge; it('should have an array of allowed position', function () { - $component = new Badge(); + $component = new Badge; expect($component->allowedPosition())->toBeArray()->not()->toBeEmpty(); }); diff --git a/tests/Components/BtnDeleteTest.php b/tests/Components/BtnDeleteTest.php index 67f1d1c..3c40ad2 100644 --- a/tests/Components/BtnDeleteTest.php +++ b/tests/Components/BtnDeleteTest.php @@ -40,9 +40,9 @@ ->assertSee('btn-outline'); }); -//it('can render with disabled attribute', function () { +// it('can render with disabled attribute', function () { // $this // ->blade('') // ->assertSee('btn-disabled') // ->assertSee('disabled'); -//}); +// }); diff --git a/tests/Components/BtnTest.php b/tests/Components/BtnTest.php index 76ab2b7..a5e0c10 100644 --- a/tests/Components/BtnTest.php +++ b/tests/Components/BtnTest.php @@ -5,7 +5,7 @@ use Step2dev\LazyUI\Components\Btn; it('should have an array of allowed colors', function () { - $component = new Btn(); + $component = new Btn; expect($component->allowedColors())->toBeArray(); }); From f3187b6fd27c58445862c34dfbd3499cac326e8e Mon Sep 17 00:00:00 2001 From: CrazyBoy49z <3448603+CrazyBoy49z@users.noreply.github.com> Date: Mon, 10 Mar 2025 19:22:39 +0000 Subject: [PATCH 03/31] Update CHANGELOG --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0076bff..1fc663a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,32 @@ All notable changes to `lazy-ui` will be documented in this file. +## 1.1.0 - 2025-03-10 + +### What's Changed + +* Refactored 'HasModels' trait and improved styling setup by @CrazyBoy49z in https://github.com/step2dev/lazy-ui/pull/6 +* Merge pull request #6 from step2dev/main by @CrazyBoy49z in https://github.com/step2dev/lazy-ui/pull/7 +* Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/step2dev/lazy-ui/pull/8 +* Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in https://github.com/step2dev/lazy-ui/pull/9 +* Update AlpineJS and DaisyUI versions in dependencies by @CrazyBoy49z in https://github.com/step2dev/lazy-ui/pull/10 +* Update README.md by @CrazyBoy49z in https://github.com/step2dev/lazy-ui/pull/11 +* Develop by @CrazyBoy49z in https://github.com/step2dev/lazy-ui/pull/12 +* Develop by @CrazyBoy49z in https://github.com/step2dev/lazy-ui/pull/13 +* Update RichText component for rich text editing support by @CrazyBoy49z in https://github.com/step2dev/lazy-ui/pull/14 +* Bump aglipanci/laravel-pint-action from 2.3.0 to 2.3.1 by @dependabot in https://github.com/step2dev/lazy-ui/pull/15 +* Bump ramsey/composer-install from 2 to 3 by @dependabot in https://github.com/step2dev/lazy-ui/pull/16 +* Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 by @dependabot in https://github.com/step2dev/lazy-ui/pull/17 +* Bump aglipanci/laravel-pint-action from 2.3.1 to 2.4 by @dependabot in https://github.com/step2dev/lazy-ui/pull/18 +* Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 by @dependabot in https://github.com/step2dev/lazy-ui/pull/19 +* Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in https://github.com/step2dev/lazy-ui/pull/20 +* Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in https://github.com/step2dev/lazy-ui/pull/21 +* Bump aglipanci/laravel-pint-action from 2.4 to 2.5 by @dependabot in https://github.com/step2dev/lazy-ui/pull/22 +* Merge all fix by @CrazyBoy49z in https://github.com/step2dev/lazy-ui/pull/24 +* Update composer.json by @CrazyBoy49z in https://github.com/step2dev/lazy-ui/pull/26 + +**Full Changelog**: https://github.com/step2dev/lazy-ui/compare/v1.0.0...1.1.0 + ## v1.1.0 - 2025-03-10 **Full Changelog**: https://github.com/step2dev/lazy-ui/compare/v1.0.0...v1.0.0 From 7bbf548a7e81eccbbf05b8d334484c00640d41af Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 May 2025 06:28:32 +0000 Subject: [PATCH 04/31] Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.3.0 to 2.4.0. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](https://github.com/dependabot/fetch-metadata/compare/v2.3.0...v2.4.0) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-version: 2.4.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot-auto-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 2cb1d5e..1a13177 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -13,7 +13,7 @@ jobs: - name: Dependabot metadata id: metadata - uses: dependabot/fetch-metadata@v2.3.0 + uses: dependabot/fetch-metadata@v2.4.0 with: github-token: "${{ secrets.GITHUB_TOKEN }}" From 0ba66e15b979f0158c2edcb5b958d441adb420f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Jun 2025 06:55:47 +0000 Subject: [PATCH 05/31] Bump stefanzweifel/git-auto-commit-action from 5 to 6 Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 5 to 6. - [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases) - [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v5...v6) --- updated-dependencies: - dependency-name: stefanzweifel/git-auto-commit-action dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/fix-php-code-style-issues.yml | 2 +- .github/workflows/update-changelog.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fix-php-code-style-issues.yml b/.github/workflows/fix-php-code-style-issues.yml index 87459d5..1b8f903 100644 --- a/.github/workflows/fix-php-code-style-issues.yml +++ b/.github/workflows/fix-php-code-style-issues.yml @@ -22,7 +22,7 @@ jobs: uses: aglipanci/laravel-pint-action@2.5 - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v5 + uses: stefanzweifel/git-auto-commit-action@v6 with: token: ${{secrets.GITHUB_TOKEN}} commit_message: Fix styling diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index ec40921..859924d 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -24,7 +24,7 @@ jobs: release-notes: ${{ github.event.release.body }} - name: Commit updated CHANGELOG - uses: stefanzweifel/git-auto-commit-action@v5 + uses: stefanzweifel/git-auto-commit-action@v6 with: branch: main commit_message: Update CHANGELOG From 82fa1418bd7df37b455712e00843c1dbf889fe42 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 14:07:01 +0300 Subject: [PATCH 06/31] Update dependabot.yml --- .github/dependabot.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 30c8a49..39b1580 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,4 +9,11 @@ updates: schedule: interval: "weekly" labels: - - "dependencies" \ No newline at end of file + - "dependencies" + + - package-ecosystem: "composer" + directory: "/" + schedule: + interval: "weekly" + labels: + - "dependencies" From 1f293d64d5adf8025a93d0c69bfdab98ade43e9c Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 14:08:00 +0300 Subject: [PATCH 07/31] Potential fix for code scanning alert no. 2: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/run-tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f13d0e2..563ef05 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [main] +permissions: + contents: read + jobs: test: runs-on: ${{ matrix.os }} From e1bd95e81acf615fd5c562da7b77bd4b883d6b30 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 14:09:13 +0300 Subject: [PATCH 08/31] Potential fix for code scanning alert no. 1: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/phpstan.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 3855a08..b9a2f66 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -1,5 +1,8 @@ name: PHPStan +permissions: + contents: read + on: push: paths: From 80ec65c48f09a1e69f3a646ea4f36a263392e24c Mon Sep 17 00:00:00 2001 From: CrazyBoy49z Date: Wed, 25 Jun 2025 14:24:21 +0300 Subject: [PATCH 09/31] Update dev dependency versions in composer.json Aligned version constraints for development dependencies in composer.json, allowing compatibility with newer major versions (e.g., Pest v3, Larastan v3). Removed `roave/security-advisories` dependency. --- composer.json | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index 6ada533..3aa9baa 100644 --- a/composer.json +++ b/composer.json @@ -31,17 +31,16 @@ "spatie/laravel-package-tools": "^1.14.0" }, "require-dev": { - "roave/security-advisories": "dev-latest", - "laravel/pint": "^1.0", - "nunomaduro/collision": "^7.9", - "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^8.0", - "pestphp/pest": "^2.0", - "pestphp/pest-plugin-arch": "^2.0", - "pestphp/pest-plugin-laravel": "^2.0", - "phpstan/extension-installer": "^1.1", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0" + "laravel/pint": "^1.14", + "nunomaduro/collision": "^8.1.1||^7.10.0", + "larastan/larastan": "^2.9||^3.0", + "orchestra/testbench": "^10.0.0||^9.0.0||^8.22.0", + "pestphp/pest": "^3.0", + "pestphp/pest-plugin-arch": "^3.0", + "pestphp/pest-plugin-laravel": "^3.0", + "phpstan/extension-installer": "^1.3||^2.0", + "phpstan/phpstan-deprecation-rules": "^1.1||^2.0", + "phpstan/phpstan-phpunit": "^1.3||^2.0" }, "autoload": { "psr-4": { From 288c60ae154721e2d13ecdb0719ebbd5a7b6669b Mon Sep 17 00:00:00 2001 From: CrazyBoy49z Date: Wed, 25 Jun 2025 14:29:04 +0300 Subject: [PATCH 10/31] Expand version constraints for Pest development dependencies in composer.json, allowing compatibility with both v2 and v3. --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 3aa9baa..20f63d7 100644 --- a/composer.json +++ b/composer.json @@ -35,9 +35,9 @@ "nunomaduro/collision": "^8.1.1||^7.10.0", "larastan/larastan": "^2.9||^3.0", "orchestra/testbench": "^10.0.0||^9.0.0||^8.22.0", - "pestphp/pest": "^3.0", - "pestphp/pest-plugin-arch": "^3.0", - "pestphp/pest-plugin-laravel": "^3.0", + "pestphp/pest": "^2.0||^3.0", + "pestphp/pest-plugin-arch": "^2.0||^3.0", + "pestphp/pest-plugin-laravel": "^2.0||^3.0", "phpstan/extension-installer": "^1.3||^2.0", "phpstan/phpstan-deprecation-rules": "^1.1||^2.0", "phpstan/phpstan-phpunit": "^1.3||^2.0" From 71d58faf38bc1b6f571822353a231aebd0a7a581 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 14:59:23 +0300 Subject: [PATCH 11/31] Update run-tests.yml --- .github/workflows/run-tests.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 563ef05..0c7685f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -16,13 +16,16 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.2, 8.1] - laravel: [10.*] - stability: [prefer-lowest, prefer-stable] + php: [ 8.4, 8.3, 8.2] + laravel: [ 12.*, 11.*, 10.* ] + stability: [ prefer-lowest, prefer-stable ] include: - - laravel: 10.* - testbench: 8.* - carbon: ^2.67 + - laravel: 12.* + testbench: 10.* + - laravel: 11.* + testbench: 9.* + - laravel: 10.* + testbench: 8.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} From fb6247bdc45dc07186ecf9692c15c158bc060c06 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 15:02:07 +0300 Subject: [PATCH 12/31] Update phpstan.yml --- .github/workflows/phpstan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index b9a2f66..75118fe 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -19,7 +19,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.2' coverage: none - name: Install composer dependencies From 1ecba720e05f008e4b2421024a560ebf0d66fe0e Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 15:04:34 +0300 Subject: [PATCH 13/31] Update run-tests.yml --- .github/workflows/run-tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 0c7685f..e7da1ea 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -22,10 +22,13 @@ jobs: include: - laravel: 12.* testbench: 10.* + carbon: ^2.67 - laravel: 11.* testbench: 9.* + carbon: ^2.67 - laravel: 10.* testbench: 8.* + carbon: ^2.67 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} From 5c4ba3c14d9176a785bb307ca817f48ff93c9fa0 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 15:06:59 +0300 Subject: [PATCH 14/31] Update run-tests.yml --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index e7da1ea..78f0891 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -22,7 +22,7 @@ jobs: include: - laravel: 12.* testbench: 10.* - carbon: ^2.67 + carbon: ^3.8.4 - laravel: 11.* testbench: 9.* carbon: ^2.67 From c9c2478c817efeb16d5093b5b65f0780699a6c71 Mon Sep 17 00:00:00 2001 From: CrazyBoy49z Date: Wed, 25 Jun 2025 15:33:42 +0300 Subject: [PATCH 15/31] Update PHP requirement to ^8.2 and align Pest dependencies to ^3.0 in composer.json --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 20f63d7..521c9cf 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ } ], "require": { - "php": "^8.1", + "php": "^8.2", "illuminate/contracts": "^v10.17.1|^v11.0|^12.0", "livewire/livewire": "^3.0", "spatie/laravel-package-tools": "^1.14.0" @@ -35,9 +35,9 @@ "nunomaduro/collision": "^8.1.1||^7.10.0", "larastan/larastan": "^2.9||^3.0", "orchestra/testbench": "^10.0.0||^9.0.0||^8.22.0", - "pestphp/pest": "^2.0||^3.0", - "pestphp/pest-plugin-arch": "^2.0||^3.0", - "pestphp/pest-plugin-laravel": "^2.0||^3.0", + "pestphp/pest": "^3.0", + "pestphp/pest-plugin-arch": "^3.0", + "pestphp/pest-plugin-laravel": "^3.0", "phpstan/extension-installer": "^1.3||^2.0", "phpstan/phpstan-deprecation-rules": "^1.1||^2.0", "phpstan/phpstan-phpunit": "^1.3||^2.0" From 3ddfdb72782978cbcc746b45b232c14ae31243c7 Mon Sep 17 00:00:00 2001 From: CrazyBoy49z Date: Wed, 25 Jun 2025 15:36:06 +0300 Subject: [PATCH 16/31] Expand Pest version constraints to allow compatibility with both v2 and v3 in composer.json. --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 521c9cf..4e1345c 100644 --- a/composer.json +++ b/composer.json @@ -35,9 +35,9 @@ "nunomaduro/collision": "^8.1.1||^7.10.0", "larastan/larastan": "^2.9||^3.0", "orchestra/testbench": "^10.0.0||^9.0.0||^8.22.0", - "pestphp/pest": "^3.0", - "pestphp/pest-plugin-arch": "^3.0", - "pestphp/pest-plugin-laravel": "^3.0", + "pestphp/pest": "^2.0||^3.0", + "pestphp/pest-plugin-arch": "^2.0||^3.0", + "pestphp/pest-plugin-laravel": "^2.0||^3.0", "phpstan/extension-installer": "^1.3||^2.0", "phpstan/phpstan-deprecation-rules": "^1.1||^2.0", "phpstan/phpstan-phpunit": "^1.3||^2.0" From 544da287039b0a54904485a39391fbb377c54cd0 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 15:38:32 +0300 Subject: [PATCH 17/31] Update run-tests.yml --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 78f0891..3e12d13 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -25,7 +25,7 @@ jobs: carbon: ^3.8.4 - laravel: 11.* testbench: 9.* - carbon: ^2.67 + carbon: ^3.0 - laravel: 10.* testbench: 8.* carbon: ^2.67 From 1690bf07035dc7907237e66fdf2b880ecfa2bb55 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 15:41:33 +0300 Subject: [PATCH 18/31] Update run-tests.yml --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 3e12d13..61a4da7 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -25,7 +25,7 @@ jobs: carbon: ^3.8.4 - laravel: 11.* testbench: 9.* - carbon: ^3.0 + carbon: ^3.8.4 - laravel: 10.* testbench: 8.* carbon: ^2.67 From fe3342e0cb9169f58f9eb7546cbc9f791c04176c Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 15:49:30 +0300 Subject: [PATCH 19/31] Update run-tests.yml --- .github/workflows/run-tests.yml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 61a4da7..84a81e0 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -20,15 +20,18 @@ jobs: laravel: [ 12.*, 11.*, 10.* ] stability: [ prefer-lowest, prefer-stable ] include: - - laravel: 12.* - testbench: 10.* - carbon: ^3.8.4 - - laravel: 11.* - testbench: 9.* - carbon: ^3.8.4 - - laravel: 10.* - testbench: 8.* - carbon: ^2.67 + - laravel: 12.* + testbench: 10.* + carbon: ^3.8.4 + canvas: ^9.2.2 + - laravel: 11.* + testbench: 9.* + carbon: ^3.8.4 + canvas: ^9.2.2 + - laravel: 10.* + testbench: 8.* + carbon: ^2.67 + canvas: ^8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} @@ -50,7 +53,7 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" "orchestra/canvas:${{ matrix.canvas }}" --no-interaction --no-update composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: List Installed Dependencies From 8a67de7c06594808e44f5e82611a2cbe3e655b63 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 15:52:03 +0300 Subject: [PATCH 20/31] Update run-tests.yml --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 84a81e0..bf5475d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -23,7 +23,7 @@ jobs: - laravel: 12.* testbench: 10.* carbon: ^3.8.4 - canvas: ^9.2.2 + canvas: ^10.0.0 - laravel: 11.* testbench: 9.* carbon: ^3.8.4 From 274a943a0d6a7d433c55783d50ee047324db650a Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 16:01:42 +0300 Subject: [PATCH 21/31] Update run-tests.yml --- .github/workflows/run-tests.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index bf5475d..882f7df 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -23,7 +23,7 @@ jobs: - laravel: 12.* testbench: 10.* carbon: ^3.8.4 - canvas: ^10.0.0 + canvas: ^9.2.2 - laravel: 11.* testbench: 9.* carbon: ^3.8.4 @@ -32,6 +32,22 @@ jobs: testbench: 8.* carbon: ^2.67 canvas: ^8.0 + exclude: + # Canvas 10 is not compatible with Laravel 10/11 + - laravel: 10.* + canvas: ^10.0.0 + - laravel: 11.* + canvas: ^10.0.0 + # Canvas 9 is not compatible with Laravel 10/12 + - laravel: 10.* + canvas: ^9.2.2 + - laravel: 12.* + canvas: ^9.2.2 + # Canvas 8 is not compatible with Laravel 11/12 + - laravel: 11.* + canvas: ^8.0 + - laravel: 12.* + canvas: ^8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} From 494878e1ff2a0e20efe9a0ecbfc4755b91155dfe Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 16:04:28 +0300 Subject: [PATCH 22/31] Update run-tests.yml --- .github/workflows/run-tests.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 882f7df..7b37693 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -19,11 +19,12 @@ jobs: php: [ 8.4, 8.3, 8.2] laravel: [ 12.*, 11.*, 10.* ] stability: [ prefer-lowest, prefer-stable ] + canvas: [ ^10.0.0, ^9.2.2, ^8.0 ] include: - laravel: 12.* testbench: 10.* carbon: ^3.8.4 - canvas: ^9.2.2 + canvas: ^10.0.0 - laravel: 11.* testbench: 9.* carbon: ^3.8.4 @@ -33,21 +34,14 @@ jobs: carbon: ^2.67 canvas: ^8.0 exclude: - # Canvas 10 is not compatible with Laravel 10/11 - - laravel: 10.* - canvas: ^10.0.0 - - laravel: 11.* - canvas: ^10.0.0 - # Canvas 9 is not compatible with Laravel 10/12 - laravel: 10.* canvas: ^9.2.2 - laravel: 12.* - canvas: ^9.2.2 - # Canvas 8 is not compatible with Laravel 11/12 - - laravel: 11.* canvas: ^8.0 - - laravel: 12.* + - laravel: 11.* canvas: ^8.0 + - laravel: 10.* + canvas: ^9.2.2 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} From c28afd69b5b435fdf0ebd5c5d124f3c7476d14d3 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 16:05:58 +0300 Subject: [PATCH 23/31] Update run-tests.yml --- .github/workflows/run-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 7b37693..84944bb 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -19,12 +19,12 @@ jobs: php: [ 8.4, 8.3, 8.2] laravel: [ 12.*, 11.*, 10.* ] stability: [ prefer-lowest, prefer-stable ] - canvas: [ ^10.0.0, ^9.2.2, ^8.0 ] + canvas: [ ^9.2.2, ^8.0 ] include: - laravel: 12.* testbench: 10.* carbon: ^3.8.4 - canvas: ^10.0.0 + canvas: ^9.2.2 - laravel: 11.* testbench: 9.* carbon: ^3.8.4 From 9f4a3dca0076beaf825a93df06afaec1a3e08c76 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 16:10:06 +0300 Subject: [PATCH 24/31] Update run-tests.yml --- .github/workflows/run-tests.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 84944bb..bbc82de 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,7 +13,7 @@ jobs: test: runs-on: ${{ matrix.os }} strategy: - fail-fast: true + fail-fast: false matrix: os: [ubuntu-latest, windows-latest] php: [ 8.4, 8.3, 8.2] @@ -24,24 +24,12 @@ jobs: - laravel: 12.* testbench: 10.* carbon: ^3.8.4 - canvas: ^9.2.2 - laravel: 11.* testbench: 9.* carbon: ^3.8.4 - canvas: ^9.2.2 - laravel: 10.* testbench: 8.* carbon: ^2.67 - canvas: ^8.0 - exclude: - - laravel: 10.* - canvas: ^9.2.2 - - laravel: 12.* - canvas: ^8.0 - - laravel: 11.* - canvas: ^8.0 - - laravel: 10.* - canvas: ^9.2.2 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} @@ -63,7 +51,7 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" "orchestra/canvas:${{ matrix.canvas }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: List Installed Dependencies From 3b66d36f28d39bfed773dc43338c2778bdd0adcc Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 16:16:23 +0300 Subject: [PATCH 25/31] Update run-tests.yml --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index bbc82de..fb2cc7c 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -18,7 +18,7 @@ jobs: os: [ubuntu-latest, windows-latest] php: [ 8.4, 8.3, 8.2] laravel: [ 12.*, 11.*, 10.* ] - stability: [ prefer-lowest, prefer-stable ] + stability: [ prefer-stable ] #prefer-lowest, canvas: [ ^9.2.2, ^8.0 ] include: - laravel: 12.* From c78b114d91ffa2e0d3ef6adaef3930ae0dfe5e27 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 16:16:36 +0300 Subject: [PATCH 26/31] Update run-tests.yml --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index fb2cc7c..6a68301 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,7 +13,7 @@ jobs: test: runs-on: ${{ matrix.os }} strategy: - fail-fast: false + fail-fast: true matrix: os: [ubuntu-latest, windows-latest] php: [ 8.4, 8.3, 8.2] From d2e4280cc0b14667ca0863dfc76e223afc5f7b80 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 16:18:53 +0300 Subject: [PATCH 27/31] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4e1345c..20f63d7 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ } ], "require": { - "php": "^8.2", + "php": "^8.1", "illuminate/contracts": "^v10.17.1|^v11.0|^12.0", "livewire/livewire": "^3.0", "spatie/laravel-package-tools": "^1.14.0" From 8b6b8637745c9394e7348ba39a3a635f0d770d93 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 16:48:49 +0300 Subject: [PATCH 28/31] Update run-tests.yml --- .github/workflows/run-tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 6a68301..5b23443 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -16,10 +16,9 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [ 8.4, 8.3, 8.2] + php: [ 8.4, 8.3, 8.2, 8.1] laravel: [ 12.*, 11.*, 10.* ] stability: [ prefer-stable ] #prefer-lowest, - canvas: [ ^9.2.2, ^8.0 ] include: - laravel: 12.* testbench: 10.* From b9b8e41e46e620b1c4071957d5505910f0ed8e53 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 16:52:24 +0300 Subject: [PATCH 29/31] Update run-tests.yml --- .github/workflows/run-tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 5b23443..06d8f2d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -29,6 +29,11 @@ jobs: - laravel: 10.* testbench: 8.* carbon: ^2.67 + exclude: + - php: 8.1 + laravel: 11.* + - php: 8.1 + laravel: 12.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} From 5dfcefc6dec4905c9a6bf63773514aaff935cdba Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 16:56:55 +0300 Subject: [PATCH 30/31] Create delete-workflows.yml --- .github/workflows/delete-workflows.yml | 66 ++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 .github/workflows/delete-workflows.yml diff --git a/.github/workflows/delete-workflows.yml b/.github/workflows/delete-workflows.yml new file mode 100644 index 0000000..063fd64 --- /dev/null +++ b/.github/workflows/delete-workflows.yml @@ -0,0 +1,66 @@ +name: Delete old workflow runs +on: + workflow_dispatch: + inputs: + days: + description: 'Days-worth of runs to keep for each workflow' + required: true + default: '30' + minimum_runs: + description: 'Minimum runs to keep for each workflow' + required: true + default: '6' + delete_workflow_pattern: + description: 'Name or filename of the workflow (if not set, all workflows are targeted)' + required: false + delete_workflow_by_state_pattern: + description: 'Filter workflows by state: active, deleted, disabled_fork, disabled_inactivity, disabled_manually' + required: true + default: "ALL" + type: choice + options: + - "ALL" + - active + - deleted + - disabled_inactivity + - disabled_manually + delete_run_by_conclusion_pattern: + description: 'Remove runs based on conclusion: action_required, cancelled, failure, skipped, success' + required: true + default: "ALL" + type: choice + options: + - "ALL" + - "Unsuccessful: action_required,cancelled,failure,skipped" + - action_required + - cancelled + - failure + - skipped + - success + dry_run: + description: 'Logs simulated changes, no deletions are performed' + required: false + +jobs: + del_runs: + runs-on: ubuntu-latest + permissions: + actions: write + contents: read + steps: + - name: Delete workflow runs + uses: Mattraks/delete-workflow-runs@v2 + with: + token: ${{ github.token }} + repository: ${{ github.repository }} + retain_days: ${{ github.event.inputs.days }} + keep_minimum_runs: ${{ github.event.inputs.minimum_runs }} + delete_workflow_pattern: ${{ github.event.inputs.delete_workflow_pattern }} + delete_workflow_by_state_pattern: ${{ github.event.inputs.delete_workflow_by_state_pattern }} + delete_run_by_conclusion_pattern: >- + ${{ + startsWith(github.event.inputs.delete_run_by_conclusion_pattern, 'Unsuccessful:') + && 'action_required,cancelled,failure,skipped' + || github.event.inputs.delete_run_by_conclusion_pattern + }} + dry_run: ${{ github.event.inputs.dry_run }} From 89b2de89ba0f21faf323bb4a7d73b81bc6851b40 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 25 Jun 2025 17:02:10 +0300 Subject: [PATCH 31/31] Delete .github/workflows/codeql.yml --- .github/workflows/codeql.yml | 84 ------------------------------------ 1 file changed, 84 deletions(-) delete mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index fc4e90f..0000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,84 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL" - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - schedule: - - cron: '21 0 * * 3' - -jobs: - analyze: - name: Analyze - # Runner size impacts CodeQL analysis time. To learn more, please see: - # - https://gh.io/recommended-hardware-resources-for-running-codeql - # - https://gh.io/supported-runners-and-hardware-resources - # - https://gh.io/using-larger-runners - # Consider using larger runners for possible analysis time improvements. - runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} - timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} - permissions: - # required for all workflows - security-events: write - - # only required for workflows in private repositories - actions: read - contents: read - - strategy: - fail-fast: false - matrix: - language: [ 'javascript-typescript' ] - # CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ] - # Use only 'java-kotlin' to analyze code written in Java, Kotlin or both - # Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both - # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - - # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality - - - # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v3 - - # â„šī¸ Command-line programs to run using the OS shell. - # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - - # If the Autobuild fails above, remove it and uncomment the following three lines. - # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. - - # - run: | - # echo "Run, Build Application using script" - # ./location_of_script_within_repo/buildscript.sh - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 - with: - category: "/language:${{matrix.language}}"