Skip to content

Commit

Permalink
chore: fix pana
Browse files Browse the repository at this point in the history
  • Loading branch information
xsahil03x committed Dec 19, 2024
1 parent a15027e commit 3c52825
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/pana/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ runs:
steps:
- name: Apply Dependency Overrides
working-directory: ${{ inputs.working_directory }}
shell: bash
run: |
# Define dependencies and their paths
declare -A DEPENDENCY_PATHS=(
Expand All @@ -44,10 +45,12 @@ runs:
- name: Install Pana
working-directory: ${{ inputs.working_directory }}
shell: bash
run: flutter pub global activate pana ${{inputs.pana_version}}

- name: Verify Pana Score
working-directory: ${{ inputs.working_directory }}
shell: bash
run: |
PANA=$(pana . --no-warning); PANA_SCORE=$(echo $PANA | sed -n "s/.*Points: \([0-9]*\)\/\([0-9]*\)./\1\/\2/p")
echo "Score: $PANA_SCORE"
Expand Down

0 comments on commit 3c52825

Please sign in to comment.