-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ed1938
commit f1a3f07
Showing
4 changed files
with
19 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,59 +64,35 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: axel-op/dart-package-analyzer@v3 | ||
- uses: flutterings/dart-package-analyzer@v1 | ||
id: analysis | ||
with: | ||
githubToken: ${{ secrets.GITHUB_TOKEN }} | ||
relativePath: packages/athena_postgres | ||
- 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 | ||
- uses: fujidaiti/[email protected] | ||
with: | ||
report: ${{ steps.analysis.outputs.json_output }} # Required | ||
min-pub-points: 120 | ||
athena_sql: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: axel-op/dart-package-analyzer@v3 | ||
- uses: flutterings/dart-package-analyzer@v1 | ||
id: analysis | ||
with: | ||
githubToken: ${{ secrets.GITHUB_TOKEN }} | ||
relativePath: packages/athena_sql | ||
- 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 | ||
- uses: fujidaiti/[email protected] | ||
with: | ||
report: ${{ steps.analysis.outputs.json_output }} # Required | ||
min-pub-points: 120 | ||
athena_utils: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: axel-op/dart-package-analyzer@v3 | ||
- uses: flutterings/dart-package-analyzer@v1 | ||
id: analysis | ||
with: | ||
githubToken: ${{ secrets.GITHUB_TOKEN }} | ||
relativePath: packages/athena_utils | ||
- 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 | ||
- uses: fujidaiti/[email protected] | ||
with: | ||
report: ${{ steps.analysis.outputs.json_output }} # Required | ||
min-pub-points: 120 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
include: package:lints/core.yaml | ||
|
||
analyzer: | ||
plugins: | ||
- dart_code_metrics | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ name: athena_sql_workspace | |
environment: | ||
sdk: '>=3.5.0 <4.0.0' | ||
dev_dependencies: | ||
lints: ^5.0.0 | ||
melos: ^6.2.0 |