Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlondono committed Nov 29, 2024
1 parent f1a3f07 commit 5dea51b
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 14 deletions.
45 changes: 33 additions & 12 deletions .github/workflows/pana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,17 @@ jobs:
id: analysis
with:
relativePath: packages/athena_postgres
- uses: fujidaiti/[email protected]
with:
report: ${{ steps.analysis.outputs.json_output }} # Required
min-pub-points: 120
- name: Check scores
env:
# NB: "analysis" is the id set above. Replace it with the one you used if different.
TOTAL: ${{ steps.analysis.outputs.total }}
TOTAL_MAX: ${{ steps.analysis.outputs.total_max }}
run: |
if (( $TOTAL < 100 ))
then
echo Score too low!
exit 1
fi
athena_sql:
runs-on: ubuntu-latest
steps:
Expand All @@ -80,10 +87,17 @@ jobs:
id: analysis
with:
relativePath: packages/athena_sql
- uses: fujidaiti/[email protected]
with:
report: ${{ steps.analysis.outputs.json_output }} # Required
min-pub-points: 120
- name: Check scores
env:
# NB: "analysis" is the id set above. Replace it with the one you used if different.
TOTAL: ${{ steps.analysis.outputs.total }}
TOTAL_MAX: ${{ steps.analysis.outputs.total_max }}
run: |
if (( $TOTAL < 100 ))
then
echo Score too low!
exit 1
fi
athena_utils:
runs-on: ubuntu-latest
steps:
Expand All @@ -92,7 +106,14 @@ jobs:
id: analysis
with:
relativePath: packages/athena_utils
- uses: fujidaiti/[email protected]
with:
report: ${{ steps.analysis.outputs.json_output }} # Required
min-pub-points: 120
- name: Check scores
env:
# NB: "analysis" is the id set above. Replace it with the one you used if different.
TOTAL: ${{ steps.analysis.outputs.total }}
TOTAL_MAX: ${{ steps.analysis.outputs.total_max }}
run: |
if (( $TOTAL < 100 ))
then
echo Score too low!
exit 1
fi
2 changes: 1 addition & 1 deletion packages/athena_migrate/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
path: ^1.9.1
yaml: ^3.1.2
athena_utils: ^1.0.4
collection: ^1.19.1
collection: any
clock: ^1.1.2
executables:
athena_migrate:
2 changes: 1 addition & 1 deletion packages/athena_sql/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:
sdk: '>=3.0.0 <4.0.0'

dependencies:
collection: ^1.19.1
collection: any
athena_utils: ^1.0.4

dev_dependencies:
Expand Down

0 comments on commit 5dea51b

Please sign in to comment.