Update lints, bump min SDK to ^3.1.0 #191
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dart | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
schedule: | |
# “At 00:00 (UTC) on Sunday.” | |
- cron: '0 0 * * 0' | |
env: | |
PUB_ENVIRONMENT: bot.github | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
sdk: [dev, 3.1] | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d | |
with: | |
sdk: ${{ matrix.sdk }} | |
- run: dart pub get | |
- name: dart format | |
run: dart format --output=none --set-exit-if-changed . | |
- run: dart analyze --fatal-infos | |
- run: dart test |