Skip to content

Commit 5adec56

Browse files
committed
wip
1 parent b2351c4 commit 5adec56

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/dart.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ jobs:
5050
git apply .github/workflows/dependency_overrides.patch
5151
fvm dart pub downgrade
5252
- name: Check formatting
53-
run: fvm exec melos run format:check
53+
run: melos run format:check
5454
- name: Lint code
55-
run: fvm exec melos run analyze
55+
run: melos run analyze
5656
- name: Run tests
5757
run: |
58-
mapfile -t packages < <(fvm exec melos list --parsable --diff=${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }}..${{ github.event.pull_request.head.sha }} --include-dependents | xargs -r -n1 basename)
58+
mapfile -t packages < <(melos list --parsable --diff=${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }}..${{ github.event.pull_request.head.sha }} --include-dependents | xargs -r -n1 basename)
5959
packages_glob="$(printf ",%s" "${packages[@]}")"
6060
packages_glob="${packages_glob:1}"
6161
if [ -n "$packages_glob" ]; then
@@ -65,10 +65,10 @@ jobs:
6565
fi
6666
./tool/build-dev-container.sh
6767
fi
68-
MELOS_PACKAGES="$packages_glob" fvm exec melos test
68+
MELOS_PACKAGES="$packages_glob" melos test
6969
else
7070
./tool/build-dev-container.sh
71-
fvm exec melos test
71+
melos test
7272
fi
7373
7474
- name: Setup Codecov
@@ -89,6 +89,6 @@ jobs:
8989
if: ${{ matrix.dependencies == 'current' }}
9090
run: |
9191
export PATH="$PATH:/tmp/bin"
92-
fvm exec melos exec --file-exists="coverage/lcov.info" --concurrency=1 -- "
92+
melos exec --file-exists="coverage/lcov.info" --concurrency=1 -- "
9393
codecov --verbose upload-process --fail-on-error -F MELOS_PACKAGE_NAME -f MELOS_PACKAGE_PATH/coverage/lcov.info -t ${{ secrets.CODECOV_TOKEN }}
9494
"

tool/setup.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
set -euxo pipefail
33
cd "$(dirname "$0")/.."
44

5-
dart pub global activate coverage 1.12.0
6-
dart pub global activate custom_lint 0.7.5
75
dart pub global activate fvm 3.2.1
8-
dart pub global activate melos 6.0.0
96

107
echo "y" | fvm install
118

9+
fvm flutter pub global activate coverage 1.12.0
10+
fvm flutter pub global activate custom_lint 0.7.5
11+
fvm flutter pub global activate melos 6.0.0
12+
1213
if [ ! -v GITHUB_REPOSITORY ]; then
1314
fvm flutter precache
1415
fi

0 commit comments

Comments
 (0)