Skip to content

Commit

Permalink
Calculating pub points prior to publishing pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
vmpay committed Jun 17, 2024
1 parent 8cda52d commit 30863eb
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
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

0 comments on commit 30863eb

Please sign in to comment.