diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 4a9c11b..d2ad57f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -11,10 +11,12 @@ jobs: os: [ubuntu-latest] php: [8.2] laravel: [10.*] + filament: [3.*] dependency-version: [ prefer-stable] include: - laravel: 10.* testbench: 8.* + filament: 3.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} @@ -36,8 +38,8 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:>=2.62.1" --no-interaction --no-update - composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "filament/filament:${{ matrix.filament }}" --no-interaction --no-update + composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: Setup Problem Matches run: | diff --git a/src/EmailTemplatesPlugin.php b/src/EmailTemplatesPlugin.php index b63f9a8..ba26cf8 100644 --- a/src/EmailTemplatesPlugin.php +++ b/src/EmailTemplatesPlugin.php @@ -32,7 +32,7 @@ public function navigationGroup($navigationGroup): static return $this; } - public function getNavigationGroup(): string + public function getNavigationGroup(): ?string { return $this->navigationGroup ?? config('filament-email-templates.navigation.templates.group'); }