fix the CI badge (#37)
* fix the CI badge
* update the branch name
* remove 'strict-casts' (not supported on Dart 2.14)
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 6dab649..cc0dcb9 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -4,10 +4,10 @@
schedule:
# “At 00:00 (UTC) on Sunday.”
- cron: '0 0 * * 0'
- pull_request:
push:
- branches:
- - master
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
env:
PUB_ENVIRONMENT: bot.github
diff --git a/README.md b/README.md
index fbc0bc3..675ccf6 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-[![Dart](https://github.com/google/tuple.dart/actions/workflows/dart.yaml/badge.svg)](https://github.com/google/tuple.dart/actions/workflows/dart.yaml)
+[![Dart](https://github.com/google/tuple.dart/actions/workflows/build.yaml/badge.svg)](https://github.com/google/tuple.dart/actions/workflows/build.yaml)
[![Pub](https://img.shields.io/pub/v/tuple.svg)](https://pub.dev/packages/tuple)
[![package publisher](https://img.shields.io/pub/publisher/tuple.svg)](https://pub.dev/packages/tuple/publisher)
diff --git a/analysis_options.yaml b/analysis_options.yaml
index 1498fff..500473b 100644
--- a/analysis_options.yaml
+++ b/analysis_options.yaml
@@ -2,5 +2,4 @@
analyzer:
language:
- strict-casts: true
strict-inference: true