File tree 1 file changed +28
-0
lines changed
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ check :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v3
10
+
11
+ - name : Clone Flutter SDK
12
+ # We can't do a depth-1 clone, because we need the most recent tag
13
+ # so that Flutter knows its version and sees the constraint in our
14
+ # pubspec is satisfied. It's uncommon for flutter/flutter to go
15
+ # more than 100 commits between tags. Fetch 1000 for good measure.
16
+ run : |
17
+ git clone --depth=1000 https://github.com/flutter/flutter ~/flutter
18
+ TZ=UTC git --git-dir ~/flutter/.git log -1 --format='%h | %ci | %s' --date=iso8601-local
19
+ echo ~/flutter/bin >> "$GITHUB_PATH"
20
+
21
+ - name : Download Flutter SDK artifacts (flutter precache)
22
+ run : flutter precache --universal
23
+
24
+ - name : Download our dependencies (flutter pub get)
25
+ run : flutter pub get
26
+
27
+ - name : Run tools/check
28
+ run : TERM=dumb tools/check
You can’t perform that action at this time.
0 commit comments