Skip to content

Bump lints from 3.0.0 to 4.0.0 #424

Bump lints from 3.0.0 to 4.0.0

Bump lints from 3.0.0 to 4.0.0 #424

Workflow file for this run

name: Dart Checks
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
# Test with at least the declared minimum Dart version
sdk: ['3.0', stable]
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- name: Install dependencies
run: dart pub get
- name: Dart Analyzer
run: dart analyze
- name: Check Dart Format
if: ${{ matrix.sdk == 'stable' }}
run: dart format --set-exit-if-changed -onone .
- name: Unit tests
run: dart test
- name: Check if Publishable
run: dart pub publish --dry-run