diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4a6f161..0603cc7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: CI +name: Quality check # Controls when the action will run. on: @@ -34,8 +34,8 @@ jobs: run: dart pub get # Verify the use of 'dart format' on each commit - - name: Verify formatting - run: dart format -o none --set-exit-if-changed . +# - name: Verify formatting +# run: dart format -o none --set-exit-if-changed . # Consider passing '--fatal-infos' for slightly stricter analysis - name: Analyze project source @@ -56,4 +56,9 @@ jobs: # package:test for this step to succeed. Note that Flutter projects will # want to change this to 'flutter test'. - name: Run tests - run: dart test \ No newline at end of file + run: dart test + + - name: Calculating pub points prior to publishing + run: | + dart pub global activate pana + dart pub global run pana --exit-code-threshold 0 --json \ No newline at end of file