Skip to content

chore: update latest supported minor version, fix typo in README.md #156

chore: update latest supported minor version, fix typo in README.md

chore: update latest supported minor version, fix typo in README.md #156

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
# Run at 5:00 on Friday to detect broken dependencies and such
- cron: '0 5 * * 5'
jobs:
test:
if: ${{ github.event_name != 'release' || github.event.action != 'published' }}
strategy:
matrix:
dart_version: ["3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
runs-on: ubuntu-latest
container:
image: dart:${{ matrix.dart_version }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2 # needed by codecov
- name: Install dependencies
# The $(command -v pub...) is a hack so the dart "prefix" is only used
# when the pub command is not present
run: $(command -v pub || echo dart pub) get
- name: Analyze
run: dart analyze --fatal-infos
- name: Run tests
run: $(command -v pub || echo dart pub) run test --coverage=./coverage