Allow letOrNull to return R? #310
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 CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
version: ["2.12", "2.13", "dev"] | |
container: | |
image: google/dart:${{ matrix.version }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install dependencies | |
run: pub get --no-precompile | |
- name: Run tests | |
run: pub run test | |
formatting: | |
runs-on: ubuntu-latest | |
container: | |
image: google/dart:2.14 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install dependencies | |
run: pub get --no-precompile | |
- name: check formatting | |
run: dart format --fix --set-exit-if-changed . | |
lint: | |
runs-on: ubuntu-latest | |
container: | |
image: google/dart:2.14 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install dependencies | |
run: pub get --no-precompile | |
- name: lint | |
run: dart analyze --fatal-infos | |
- name: docs | |
run: dartdoc . | |
- name: Verify package completness | |
run: pub publish -n | |