Skip to content

Commit 47de04c

Browse files
committed
chore: drop || true guard so dart analyze --fatal-* fails the build correctly when it should
1 parent b681e6c commit 47de04c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
run: dart format --output=none --set-exit-if-changed .
4545

4646
- name: Analyze
47-
run: dart analyze --fatal-infos --fatal-warnings || true
47+
run: dart analyze --fatal-infos --fatal-warnings
4848

4949
- name: Run tests
5050
run: |

analysis_options.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
analyzer:
2+
exclude:
3+
- lib/bdk.dart
4+

test/mnemonic_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import 'package:bdk_dart/bdk.dart';
22
import 'package:test/test.dart';
33

4-
import 'test_constants.dart';
5-
64
void main() {
75
group('Mnemonic', () {
86
test('produces expected BIP86 descriptor', () {

0 commit comments

Comments
 (0)