Skip to content

Merge pull request #8 from ricardoboss/issues/1-missing-data-types #52

Merge pull request #8 from ricardoboss/issues/1-missing-data-types

Merge pull request #8 from ricardoboss/issues/1-missing-data-types #52

Workflow file for this run

name: Dart
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
name: Analyze, format, and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ${{ env.PUB_CACHE }}
key: ${{ runner.os }}-pub
- name: Install dependencies
run: dart pub get
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
- name: Analyze project source
run: dart analyze --fatal-infos
- name: Run build_runner
run: dart run build_runner build --delete-conflicting-outputs
- name: Run tests
run: dart test