Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/all_plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: all_plugins

on:
pull_request:
paths-ignore:
- "docs/**"
- "website/**"
- "**.md"
push:
branches:
- master
Expand All @@ -16,6 +12,12 @@ on:

jobs:
analyze:
strategy:
fail-fast: false
matrix:
test1: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
test2: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
test3: [1, 2]
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
Expand All @@ -35,7 +37,7 @@ jobs:
dart pub publish --dry-run

pub_get_check:
timeout-minutes: 30
timeout-minutes: 90
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -51,7 +53,7 @@ jobs:

format:
runs-on: ubuntu-latest
timeout-minutes: 20
timeout-minutes: 90
steps:
- uses: actions/checkout@v2
- name: "Install Flutter"
Expand Down Expand Up @@ -81,7 +83,7 @@ jobs:
./.github/workflows/scripts/validate-formatting.sh

build_examples_dart:
timeout-minutes: 30
timeout-minutes: 90
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -100,7 +102,7 @@ jobs:

test:
runs-on: ubuntu-latest
timeout-minutes: 30
timeout-minutes: 90
steps:
- uses: actions/checkout@v2
- name: "Install Flutter"
Expand Down
42 changes: 0 additions & 42 deletions .github/workflows/cancel.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/scripts/install-tools.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

flutter config --no-analytics
flutter pub global activate melos 1.1.0
flutter pub global activate melos 2.4.0
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
echo "$GITHUB_WORKSPACE/_flutter/.pub-cache/bin" >> $GITHUB_PATH
echo "$GITHUB_WORKSPACE/_flutter/bin/cache/dart-sdk/bin" >> $GITHUB_PATH
7 changes: 6 additions & 1 deletion melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ command:
# branch: master
# Additionally build a changelog at the root of the workspace.
workspaceChangelog: true
bootstrap:
# It seems so that running "pub get" in parallel has some issues (like
# https://github.com/dart-lang/pub/issues/3404). Disabling this feature
# makes the CI much more stable.
runPubGetInParallel: false

scripts:
lint:all:
Expand All @@ -21,7 +26,7 @@ scripts:

analyze:
run: |
melos exec -c 5 -- \
melos exec -c 1 -- \
dart analyze . --fatal-infos
description: |
Run `dart analyze` in all packages.
Expand Down