Skip to content

Commit d1bce63

Browse files
authored
Allow analyzer 6 (#178)
* Allow analyzer 6 * try without chrome * add config * run dart test directly * cleanup
1 parent 6148b44 commit d1bce63

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

Diff for: .github/workflows/dart_ci.yaml

+6-5
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
sdk: [ 2.19.6 ]
24+
sdk: [ 2.19.6, 3.5.4 ]
2525
steps:
2626
- uses: actions/checkout@v2
2727
- uses: dart-lang/setup-dart@v1
@@ -34,11 +34,12 @@ jobs:
3434
if: ${{ matrix.sdk == '2.19.6' }}
3535
- name: Analyze project source
3636
run: dart analyze
37-
- name: Run tests on chrome
38-
run: dart run build_runner test --delete-conflicting-outputs -- -p chrome
39-
- name: Run tests in release mode on chrome
40-
run: dart run build_runner test --release --delete-conflicting-outputs -- -p chrome
37+
- name: Run tests in dev mode
38+
run: dart test -p chrome
39+
- name: Run tests in release mode
40+
run: dart test -c dart2js -p chrome
4141
- name: Publish SBOM
42+
if: ${{ matrix.sdk == '2.19.6' }}
4243
uses: anchore/sbom-action@v0
4344
with:
4445
path: ./

Diff for: pubspec.yaml

+8-7
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,20 @@ version: 8.0.8
33
description: A state management library written in dart that enforces immutability
44
homepage: https://github.com/davidmarne/built_redux
55
dependencies:
6-
analyzer: ^5.0.0
7-
build: ">=1.0.0 <3.0.0"
6+
analyzer: '>=5.0.0 <7.0.0'
7+
build: ^2.0.0
88
built_collection: ^5.0.0
9-
built_value: ^8.0.0
10-
source_gen: ">=0.9.4 <2.0.0"
9+
built_value: ^8.5.0
10+
source_gen: ^1.0.0
1111
test: ^1.16.0
1212

1313
dev_dependencies:
1414
build_runner: ^2.0.0
1515
build_test: ^2.0.0
16-
built_value_generator: ^8.0.0
16+
built_value_generator: ^8.5.0
1717
build_web_compilers: '>=3.0.0 <5.0.0'
18-
workiva_analysis_options: ^1.0.0
18+
workiva_analysis_options: ^1.2.0
1919

2020
environment:
21-
sdk: ">=2.12.0 <3.0.0"
21+
sdk: '>=2.12.0 <3.0.0'
22+

0 commit comments

Comments
 (0)