initial work to split into dart_filament and flutter_filament
This commit is contained in:
29
.github/workflows/analyze_project.yaml
vendored
29
.github/workflows/analyze_project.yaml
vendored
@@ -1,29 +0,0 @@
|
||||
name: Dart Analyzer
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: '12.x'
|
||||
|
||||
- name: Install Flutter
|
||||
uses: subosito/flutter-action@v1
|
||||
with:
|
||||
flutter-version: '2.x'
|
||||
|
||||
- name: Get dependencies
|
||||
run: flutter pub get
|
||||
|
||||
- name: Analyze
|
||||
run: flutter analyze
|
||||
35
.github/workflows/calculate_pub_dev_score.yaml
vendored
35
.github/workflows/calculate_pub_dev_score.yaml
vendored
@@ -1,35 +0,0 @@
|
||||
name: PubDev Score
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
package-analysis:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: axel-op/dart-package-analyzer@v3
|
||||
id: analysis
|
||||
with:
|
||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# use this id to retrieve the outputs in the next steps
|
||||
# exit dirty when the package doesn't reach 100%
|
||||
- name: Check scores
|
||||
env:
|
||||
# "analysis" is the id set above
|
||||
# PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX ))
|
||||
TOTAL: ${{ steps.analysis.outputs.total }}
|
||||
TOTAL_MAX: ${{ steps.analysis.outputs.total_max }}
|
||||
JSON_OUT: ${{ steps.analysis.outputs.json_output }}
|
||||
run: |
|
||||
if (( $TOTAL != $TOTAL_MAX ))
|
||||
then
|
||||
echo There are missing points in the project!
|
||||
echo $TOTAL from $TOTAL_MAX Points reached
|
||||
echo $JSON_OUT | jq
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user