Skip to content

it's alive and i have new plans #3

it's alive and i have new plans

it's alive and i have new plans #3

name: ✅ Check and test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-check-and-test
cancel-in-progress: true
jobs:
check-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: stable
- 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 tests
run: dart test