Skip to content

Commit 912b8f4

Browse files
committed
Add bloc and freezed value to CI
1 parent 2ad9dd9 commit 912b8f4

File tree

2 files changed

+35
-2
lines changed

2 files changed

+35
-2
lines changed

.github/workflows/static_analysis_and_tests.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,28 @@ on:
88
- refresh
99

1010
jobs:
11+
bloc_flutter:
12+
name: bloc_flutter
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v4
17+
18+
- name: Static Analysis & Tests
19+
uses: ./.github/actions/flutter_analysis_and_tests
20+
with:
21+
working-directory: ./bloc_flutter
22+
blocs:
23+
name: blocs
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v4
28+
29+
- name: Static Analysis & Tests
30+
uses: ./.github/actions/dart_analysis_and_tests
31+
with:
32+
working-directory: ./blocs
1133
change_notifier_provider:
1234
name: change_notifier_provider
1335
runs-on: ubuntu-latest
@@ -19,6 +41,17 @@ jobs:
1941
uses: ./.github/actions/flutter_analysis_and_tests
2042
with:
2143
working-directory: ./change_notifier_provider
44+
freezed_provider_value_notifier:
45+
name: freezed_provider_value_notifier
46+
runs-on: ubuntu-latest
47+
steps:
48+
- name: Checkout repository
49+
uses: actions/checkout@v4
50+
51+
- name: Static Analysis & Tests
52+
uses: ./.github/actions/flutter_analysis_and_tests
53+
with:
54+
working-directory: ./freezed_provider_value_notifier
2255
inherited_widget:
2356
name: inherited_widget
2457
runs-on: ubuntu-latest

vanilla/lib/widgets/filter_button.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ class FilterButton extends StatelessWidget {
2323
final button = _Button(
2424
onSelected: onSelected,
2525
activeFilter: activeFilter,
26-
activeStyle: activeStyle!,
27-
defaultStyle: defaultStyle!,
26+
activeStyle: activeStyle,
27+
defaultStyle: defaultStyle,
2828
);
2929

3030
return AnimatedOpacity(

0 commit comments

Comments
 (0)