Skip to content

SEO: Remove UTM on readme title (#254) #401

SEO: Remove UTM on readme title (#254)

SEO: Remove UTM on readme title (#254) #401

Workflow file for this run

name: pana
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
faye_dart:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: axel-op/dart-package-analyzer@v3
id: analysis
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
relativePath: packages/faye_dart
- 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: |
PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX ))
if (( $PERCENTAGE < 80 ))
then
echo Score too low!
exit 1
fi
stream_feed:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: axel-op/dart-package-analyzer@v3
id: analysis
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
relativePath: packages/stream_feed
- 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: |
PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX ))
if (( $PERCENTAGE < 90 ))
then
echo Score too low!
exit 1
fi
stream_feed_flutter_core:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: axel-op/dart-package-analyzer@v3
id: analysis
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
relativePath: packages/stream_feed_flutter_core
- 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: |
PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX ))
if (( $PERCENTAGE < 90 ))
then
echo Score too low!
exit 1
fi
# stream_feed_flutter:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: axel-op/dart-package-analyzer@v3
# id: analysis
# with:
# githubToken: ${{ secrets.GITHUB_TOKEN }}
# relativePath: packages/stream_feed_flutter
# - 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: |
# PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX ))
# if (( $PERCENTAGE < 90 ))
# then
# echo Score too low!
# exit 1
# fi