Skip to content

docs: update LICENSE, CHANGELOGs and example README in prep for launch #6

docs: update LICENSE, CHANGELOGs and example README in prep for launch

docs: update LICENSE, CHANGELOGs and example README in prep for launch #6

Workflow file for this run

name: shape
on:
pull_request:
paths:
- 'packages/shape/**'
- '.github/workflows/shape.yaml'
jobs:
build:
defaults:
run:
working-directory: packages/shape
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Install Dependencies
run: dart pub get
- name: Format
run: dart format --set-exit-if-changed .
- name: Analyze
run: dart analyze --fatal-infos --fatal-warnings .
- name: Run Tests
run: |
dart pub global activate coverage 1.6.3
dart test --coverage=coverage && dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib
- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2
with:
path: packages/shape/coverage/lcov.info
# FIXME: Uncomment once repository is public
# pana:
# defaults:
# run:
# working-directory: packages/shape
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: dart-lang/setup-dart@v1
# - name: Install Dependencies
# run: |
# dart pub get
# dart pub global activate pana
# sudo apt-get install webp
# - name: Verify Pub Score
# run: ../../tool/verify_pub_score.sh