wip(build): transition to github workflows
diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml
new file mode 100644
index 0000000..8a9c617
--- /dev/null
+++ b/.github/workflows/dart.yml
@@ -0,0 +1,31 @@
+#give the pipeline a name
+name: Dart CI
+
+#set conditions to trigger on
+on:
+  push:
+    branches: [master]
+  pull_request:
+    branches: [master]
+
+# define what happens when conditions are met
+jobs:
+  build:
+    # use ubuntu's latest OS
+    runs-on: ubuntu-latest
+    # use the google/dart container (this makes `dart` available to use)
+    container:
+      image: google/dart:latest
+
+    # checkout the code, run pub get and finally run tests
+    steps:
+      - uses: actions/checkout@v2
+      
+      - name: Install dependencies
+        run: dart pub get
+
+      - name: Analyze
+        run: dart analyze --fatal-infos lib/*.dart test/*.dart
+
+      - name: Run tests
+        run: pub run test
diff --git a/build.sh b/build.sh
index 31ffbdc..644ceb7 100755
--- a/build.sh
+++ b/build.sh
@@ -4,22 +4,20 @@
 set -e
 
 # build autogenerated code in test to keep the analyzer happy
-pub run build_runner build test
+dart run build_runner build test
 
-if [ "$TRAVIS_DART_VERSION" = "stable" ]; then
-  echo "Analyzing with `dartanalyzer --version`"
-  dartanalyzer="dartanalyzer --strong --fatal-warnings lib/*.dart test/*.dart"
+echo "Analyzing with dart analyze"
+  dartanalyzer="dart analyze --fatal-infos lib/*.dart test/*.dart"
   $dartanalyzer
-fi
 
-pub deps
+dart pub deps
 
 # run the tests
-pub run build_runner test
+dart run build_runner test
 
 # Only run with the stable version of dart.
 if [ "$TRAVIS_DART_VERSION" = "stable" ]; then
-  pub global activate dart_style
+  dart pub global activate dart_style
   dirty_code=$(pub global run dart_style:format --dry-run lib/ test/ example/)
   if [[ -n "$dirty_code" ]]; then
     echo Unformatted files:
@@ -31,15 +29,10 @@
 
   # Install dart_coveralls; gather and send coverage data.
   if [ "$COVERALLS_TOKEN" ]; then
-    pub global activate dart_coveralls
-    pub global run dart_coveralls report \
+    dart pub global activate dart_coveralls
+    dart pub global run dart_coveralls report \
       --retry 2 \
       --exclude-test-files \
       test/mustache_all.dart
   fi
 fi
-
-if [ "$TRAVIS_DART_VERSION" = "1.23.0" ]; then
-  # make sure that dart2js works with dart v1
-  pub run test -p chrome,firefox
-fi