From 30863eb38a94df47418557860d71e7dcccaa27b7 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 17 Jun 2024 11:54:32 +0200 Subject: [PATCH] Calculating pub points prior to publishing pipeline --- .github/workflows/main.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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