Skip to content

Commit df36812

Browse files
committed
Restrict all CI actions to Dart dev channel
1 parent e52760c commit df36812

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/test-package.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
permissions: read-all
1616

1717
jobs:
18-
# Check code formatting with the stable SDK.
18+
# Check code formatting with the dev SDK.
1919
format:
2020
runs-on: ubuntu-latest
2121
strategy:
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2525
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
2626
with:
27-
sdk: 3.5.0
27+
sdk: dev
2828
- id: install
2929
name: Install dependencies
3030
run: dart pub get
@@ -37,7 +37,9 @@ jobs:
3737
strategy:
3838
fail-fast: false
3939
matrix:
40-
sdk: [3.5.0, dev]
40+
# TODO(srawlins): Re-enable stable Dart when 3.6.0 is available.
41+
#sdk: [3.5.0, dev]
42+
sdk: [dev]
4143
steps:
4244
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
4345
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
@@ -59,7 +61,9 @@ jobs:
5961
fail-fast: false
6062
matrix:
6163
os: [ubuntu-latest]
62-
sdk: [3.5.0, dev]
64+
# TODO(srawlins): Re-enable stable Dart when 3.6.0 is available.
65+
#sdk: [3.5.0, dev]
66+
sdk: [dev]
6367
steps:
6468
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
6569
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
@@ -75,7 +79,11 @@ jobs:
7579
run: dart run build_runner build --fail-on-severe
7680
if: always() && steps.install.outcome == 'success'
7781
- name: Run DDC tests
78-
run: dart run build_runner test -- --platform chrome
82+
# We run with `--concurrency=1` because of a bug in the test package,
83+
# I believe: https://github.com/dart-lang/test/issues/2294. We can
84+
# look into removing this flag when we are using a version of the test
85+
# package without this bug.
86+
run: dart run build_runner test -- --platform chrome --concurrency=1
7987
if: always() && steps.install.outcome == 'success'
8088

8189
document:

0 commit comments

Comments
 (0)