Skip to content

Commit cc5de27

Browse files
committed
Update CI
1 parent d07e95a commit cc5de27

File tree

3 files changed

+78
-33
lines changed

3 files changed

+78
-33
lines changed

.github/workflows/app_facing_package.yaml

Lines changed: 46 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,15 @@ jobs:
2626
# Steps represent a sequence of tasks that will be executed as part of the job
2727
steps:
2828
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
29-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
3030

3131
# Make sure the stable version of Flutter is available
32-
- uses: subosito/flutter-action@v2
32+
- name: Set up Flutter
33+
uses: subosito/flutter-action@v2
3334
with:
3435
channel: "stable"
36+
architecture: x64
37+
cache: true
3538

3639
# Download all Flutter packages
3740
- name: Download dependencies
@@ -55,12 +58,15 @@ jobs:
5558
# Steps represent a sequence of tasks that will be executed as part of the job
5659
steps:
5760
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
58-
- uses: actions/checkout@v3
61+
- uses: actions/checkout@v4
5962

6063
# Make sure the stable version of Flutter is available
61-
- uses: subosito/flutter-action@v2
64+
- name: Set up Flutter
65+
uses: subosito/flutter-action@v2
6266
with:
6367
channel: "stable"
68+
architecture: x64
69+
cache: true
6470

6571
# Download all Flutter packages
6672
- name: Download dependencies
@@ -85,7 +91,7 @@ jobs:
8591
# Steps represent a sequence of tasks that will be executed as part of the job
8692
steps:
8793
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
88-
- uses: actions/checkout@v3
94+
- uses: actions/checkout@v4
8995

9096
# Ensure correct JAVA version is installed.
9197
- uses: actions/setup-java@v3
@@ -94,9 +100,12 @@ jobs:
94100
java-version: "17"
95101

96102
# Make sure the stable version of Flutter is available
97-
- uses: subosito/flutter-action@v2
103+
- name: Set up Flutter
104+
uses: subosito/flutter-action@v2
98105
with:
99106
channel: "stable"
107+
architecture: x64
108+
cache: true
100109

101110
# Download all Flutter packages
102111
- name: Download dependencies
@@ -121,12 +130,15 @@ jobs:
121130
# Steps represent a sequence of tasks that will be executed as part of the job
122131
steps:
123132
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
124-
- uses: actions/checkout@v3
133+
- uses: actions/checkout@v4
125134

126135
# Make sure the stable version of Flutter is available
127-
- uses: subosito/flutter-action@v2
136+
- name: Set up Flutter
137+
uses: subosito/flutter-action@v2
128138
with:
129139
channel: "stable"
140+
architecture: x64
141+
cache: true
130142

131143
# Download all Flutter packages
132144
- name: Download dependencies
@@ -151,12 +163,15 @@ jobs:
151163
# Steps represent a sequence of tasks that will be executed as part of the job
152164
steps:
153165
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
154-
- uses: actions/checkout@v3
166+
- uses: actions/checkout@v4
155167

156168
# Make sure the stable version of Flutter is available
157-
- uses: subosito/flutter-action@v2
169+
- name: Set up Flutter
170+
uses: subosito/flutter-action@v2
158171
with:
159172
channel: "stable"
173+
architecture: x64
174+
cache: true
160175

161176
# Enable platform support
162177
- name: Enable macOS
@@ -186,12 +201,15 @@ jobs:
186201
# Steps represent a sequence of tasks that will be executed as part of the job
187202
steps:
188203
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
189-
- uses: actions/checkout@v3
204+
- uses: actions/checkout@v4
190205

191206
# Make sure the stable version of Flutter is available
192-
- uses: subosito/flutter-action@v2
207+
- name: Set up Flutter
208+
uses: subosito/flutter-action@v2
193209
with:
194210
channel: "stable"
211+
architecture: x64
212+
cache: true
195213

196214
# Enable platform support
197215
- name: Enable Windows
@@ -225,12 +243,15 @@ jobs:
225243
- run: sudo apt-get install -y ninja-build libgtk-3-dev libblkid-dev
226244

227245
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
228-
- uses: actions/checkout@v3
246+
- uses: actions/checkout@v4
229247

230248
# Make sure the stable version of Flutter is available
231-
- uses: subosito/flutter-action@v2
249+
- name: Set up Flutter
250+
uses: subosito/flutter-action@v2
232251
with:
233252
channel: "stable"
253+
architecture: x64
254+
cache: true
234255

235256
# Enable platform support
236257
- name: Enable Linux
@@ -265,12 +286,15 @@ jobs:
265286
# Steps represent a sequence of tasks that will be executed as part of the job
266287
steps:
267288
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
268-
- uses: actions/checkout@v3
289+
- uses: actions/checkout@v4
269290

270291
# Make sure the stable version of Flutter is available
271-
- uses: subosito/flutter-action@v2
292+
- name: Set up Flutter
293+
uses: subosito/flutter-action@v2
272294
with:
273295
channel: "stable"
296+
architecture: x64
297+
cache: true
274298

275299
# Download all Flutter packages
276300
- name: Download dependencies
@@ -293,12 +317,15 @@ jobs:
293317
# Steps represent a sequence of tasks that will be executed as part of the job
294318
steps:
295319
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
296-
- uses: actions/checkout@v3
320+
- uses: actions/checkout@v4
297321

298322
# Make sure the stable version of Flutter is available
299-
- uses: subosito/flutter-action@v2
323+
- name: Set up Flutter
324+
uses: subosito/flutter-action@v2
300325
with:
301326
channel: "stable"
327+
architecture: x64
328+
cache: true
302329

303330
# Download all Flutter packages
304331
- name: Download dependencies
@@ -311,7 +338,7 @@ jobs:
311338
working-directory: ${{env.source-directory}}
312339

313340
# Upload code coverage information
314-
- uses: codecov/codecov-action@v3
341+
- uses: codecov/codecov-action@v4
315342
with:
316343
files: ${{env.source-directory}}/coverage/lcov.info
317344
name: CachedNetworkImage (App Facing Package)

.github/workflows/platform_interface.yaml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,15 @@ jobs:
2626
# Steps represent a sequence of tasks that will be executed as part of the job
2727
steps:
2828
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
29-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
3030

3131
# Make sure the stable version of Flutter is available
32-
- uses: subosito/flutter-action@v2
32+
- name: Set up Flutter
33+
uses: subosito/flutter-action@v2
3334
with:
3435
channel: "stable"
36+
architecture: x64
37+
cache: true
3538

3639
# Download all Flutter packages
3740
- name: Download dependencies
@@ -55,12 +58,15 @@ jobs:
5558
# Steps represent a sequence of tasks that will be executed as part of the job
5659
steps:
5760
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
58-
- uses: actions/checkout@v3
61+
- uses: actions/checkout@v4
5962

6063
# Make sure the stable version of Flutter is available
61-
- uses: subosito/flutter-action@v2
64+
- name: Set up Flutter
65+
uses: subosito/flutter-action@v2
6266
with:
6367
channel: "stable"
68+
architecture: x64
69+
cache: true
6470

6571
# Download all Flutter packages
6672
- name: Download dependencies
@@ -83,12 +89,15 @@ jobs:
8389
# Steps represent a sequence of tasks that will be executed as part of the job
8490
steps:
8591
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
86-
- uses: actions/checkout@v3
92+
- uses: actions/checkout@v4
8793

8894
# Make sure the stable version of Flutter is available
89-
- uses: subosito/flutter-action@v2
95+
- name: Set up Flutter
96+
uses: subosito/flutter-action@v2
9097
with:
9198
channel: "stable"
99+
architecture: x64
100+
cache: true
92101

93102
# Download all Flutter packages
94103
- name: Download dependencies
@@ -101,7 +110,7 @@ jobs:
101110
working-directory: ${{env.source-directory}}
102111

103112
# Upload code coverage information
104-
- uses: codecov/codecov-action@v3
113+
- uses: codecov/codecov-action@v4
105114
with:
106115
files: ${{env.source-directory}}/coverage/lcov.info
107116
name: CachedNetworkImage (Platform interface)

.github/workflows/web.yaml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,15 @@ jobs:
2626
# Steps represent a sequence of tasks that will be executed as part of the job
2727
steps:
2828
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
29-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
3030

3131
# Make sure the stable version of Flutter is available
32-
- uses: subosito/flutter-action@v2
32+
- name: Set up Flutter
33+
uses: subosito/flutter-action@v2
3334
with:
3435
channel: "stable"
36+
architecture: x64
37+
cache: true
3538

3639
# Download all Flutter packages
3740
- name: Download dependencies
@@ -55,12 +58,15 @@ jobs:
5558
# Steps represent a sequence of tasks that will be executed as part of the job
5659
steps:
5760
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
58-
- uses: actions/checkout@v3
61+
- uses: actions/checkout@v4
5962

6063
# Make sure the stable version of Flutter is available
61-
- uses: subosito/flutter-action@v2
64+
- name: Set up Flutter
65+
uses: subosito/flutter-action@v2
6266
with:
6367
channel: "stable"
68+
architecture: x64
69+
cache: true
6470

6571
# Download all Flutter packages
6672
- name: Download dependencies
@@ -83,12 +89,15 @@ jobs:
8389
# Steps represent a sequence of tasks that will be executed as part of the job
8490
steps:
8591
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
86-
- uses: actions/checkout@v3
92+
- uses: actions/checkout@v4
8793

8894
# Make sure the stable version of Flutter is available
89-
- uses: subosito/flutter-action@v2
95+
- name: Set up Flutter
96+
uses: subosito/flutter-action@v2
9097
with:
9198
channel: "stable"
99+
architecture: x64
100+
cache: true
92101

93102
# Download all Flutter packages
94103
- name: Download dependencies
@@ -101,7 +110,7 @@ jobs:
101110
working-directory: ${{env.source-directory}}
102111

103112
# # Upload code coverage information
104-
# - uses: codecov/codecov-action@v1
113+
# - uses: codecov/codecov-action@v4
105114
# with:
106115
# files: ${{env.source-directory}}/coverage/lcov.info
107116
# name: CachedNetworkImage (Web)

0 commit comments

Comments
 (0)