Skip to content

Commit

Permalink
Pin CI to latest stable Dart 2.10 & prepare for NNBD (#276)
Browse files Browse the repository at this point in the history
* Add dev container to CI (#270)

* Disable fail-fast in CI strategy

* Add 2.10 tag, Change dev to experimental

* Remove upgrade dependencies

* Change matrix to 2.10 tag only
  • Loading branch information
Liklainy authored Dec 24, 2020
1 parent e431262 commit 476e850
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,22 @@ on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag: ['2.10']

container:
image: google/dart:latest
image: google/dart:${{ matrix.tag }}

steps:
- uses: actions/checkout@v2

- name: Install dependencies
run: pub get
run: dart pub get

- name: Check Stage formatting
run: pub run bin/check_formatting.dart
run: dart run bin/check_formatting.dart

- name: Run tests
run: pub run test
run: dart test

0 comments on commit 476e850

Please sign in to comment.