@@ -27,20 +27,15 @@ jobs:
27
27
# https://github.com/zulip/zulip-flutter/issues/1710
28
28
# Pending that, fetch more than 1000 commits.
29
29
run : |
30
- # TODO temp hack 2025-07-08 as Flutter's `main` is broken but `master` works:
31
- # https://github.com/zulip/zulip-flutter/pull/1688#issuecomment-3050661097
32
- # https://discord.com/channels/608014603317936148/608021351567065092/1392301750383415376
33
- # https://github.com/flutter/flutter/issues/171833
34
- # (See also "temp hack" items below.)
35
- git clone --depth=3000 -b master https://github.com/flutter/flutter ~/flutter
30
+ git clone --depth=3000 -b main https://github.com/flutter/flutter ~/flutter
36
31
TZ=UTC git --git-dir ~/flutter/.git log -1 --format='%h | %ci | %s' --date=iso8601-local
37
32
echo ~/flutter/bin >> "$GITHUB_PATH"
38
33
39
34
# The Flutter tool assumes the tip of tree is "origin/master"
40
35
# (or "upstream/master"):
41
36
# https://github.com/flutter/flutter/issues/160626
42
37
# TODO(upstream): make workaround unneeded
43
- # TODO, see temp hack above: git --git-dir ~/flutter/.git update-ref refs/remotes/origin/master origin/main
38
+ git --git-dir ~/flutter/.git update-ref refs/remotes/origin/master origin/main
44
39
45
40
- name : Download Flutter SDK artifacts (flutter precache)
46
41
run : flutter precache --universal
49
44
run : flutter pub get
50
45
51
46
- name : Run tools/check
52
- # TODO omitting flutter_version, see temp hack above
53
- run : TERM=dumb tools/check --verbose --all-files analyze test build_runner l10n drift pigeon icons android shellcheck
47
+ run : TERM=dumb tools/check --all --verbose
0 commit comments