File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
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 "
Original file line number Diff line number Diff line change 22set -euxo pipefail
33cd " $( dirname " $0 " ) /.."
44
5- dart pub global activate coverage 1.12.0
6- dart pub global activate custom_lint 0.7.5
75dart pub global activate fvm 3.2.1
8- dart pub global activate melos 6.0.0
96
107echo " 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+
1213if [ ! -v GITHUB_REPOSITORY ]; then
1314 fvm flutter precache
1415fi
You can’t perform that action at this time.
0 commit comments