Skip to content

Bump to v1.1.0

Bump to v1.1.0 #59

Workflow file for this run

name: Test
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
strategy:
matrix:
sdk: [stable, beta]
steps:
- uses: actions/checkout@v5
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- run: dart pub get
- name: Check generated files
run: |
dart run build_runner build --delete-conflicting-outputs
if ! git diff --quiet --exit-code; then
echo "Generated files are out of sync. Run: dart run build_runner build --delete-conflicting-outputs"
exit 1
fi
- run: dart format --output=none --set-exit-if-changed .
- run: dart analyze
- run: dart test
- run: dart doc
- name: Upload generated dartdoc
uses: actions/upload-artifact@v4
with:
name: docs-${{ matrix.sdk }}
path: doc/
- name: Evaluate score with pana
run: |
dart pub global activate pana
dart pub global run pana .
# - name: Run example code
# run: |
# cd example
# dart pub get
# dart run lib/main.dart