@@ -13,16 +13,16 @@ jobs:
13
13
name : webcrypto on Linux desktop / Chrome / Firefox
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - uses : actions/checkout@v3
16
+ - uses : actions/checkout@v4
17
17
- uses : subosito/flutter-action@v2
18
18
with :
19
19
channel : ' stable'
20
+ cache : true
20
21
- name : Configure Flutter
21
22
run : |
22
23
sudo apt-get update -y
23
24
sudo apt-get install -y ninja-build libgtk-3-dev
24
25
flutter config --no-analytics
25
- flutter config --enable-linux-desktop
26
26
- run : flutter pub get
27
27
- run : flutter pub run webcrypto:setup
28
28
- run : flutter test
@@ -42,15 +42,14 @@ jobs:
42
42
name : webcrypto on macOS desktop / Chrome
43
43
runs-on : macos-latest
44
44
steps :
45
- - uses : actions/checkout@v3
45
+ - uses : actions/checkout@v4
46
46
- uses : subosito/flutter-action@v2
47
47
with :
48
48
channel : ' stable'
49
- architecture : x64
49
+ cache : true
50
50
- name : Configure Flutter
51
51
run : |
52
52
flutter config --no-analytics
53
- flutter config --enable-macos-desktop
54
53
- run : flutter pub get
55
54
- run : flutter pub run webcrypto:setup
56
55
- run : flutter test
@@ -71,15 +70,14 @@ jobs:
71
70
runs-on : windows-latest
72
71
steps :
73
72
- uses : ilammy/setup-nasm@v1
74
- - uses : actions/checkout@v3
73
+ - uses : actions/checkout@v4
75
74
- uses : subosito/flutter-action@v2
76
75
with :
77
76
channel : ' stable'
78
- architecture : x64
77
+ cache : true
79
78
- name : Configure Flutter
80
79
run : |
81
80
flutter config --no-analytics
82
- flutter config --enable-windows-desktop
83
81
- run : flutter pub get
84
82
- run : flutter pub run webcrypto:setup
85
83
- run : flutter test
@@ -100,15 +98,15 @@ jobs:
100
98
name : webcrypto on iOS emulator (iPhone)
101
99
runs-on : macos-latest
102
100
steps :
103
- - uses : actions/checkout@v3
101
+ - uses : actions/checkout@v4
104
102
- uses : subosito/flutter-action@v2
105
103
with :
106
104
channel : ' stable'
107
- architecture : x64
105
+ cache : true
108
106
- name : Configure Flutter
109
107
run : |
110
108
flutter config --no-analytics
111
- - uses : futureware-tech/simulator-action@v1
109
+ - uses : futureware-tech/simulator-action@v3
112
110
with :
113
111
model : ' iPhone 12'
114
112
- run : flutter pub get
@@ -118,15 +116,15 @@ jobs:
118
116
name : webcrypto on Android emulator
119
117
runs-on : macos-latest
120
118
steps :
121
- - uses : actions/checkout@v3
122
- - uses : actions/setup-java@v2
119
+ - uses : actions/checkout@v4
120
+ - uses : actions/setup-java@v4
123
121
with :
124
122
distribution : ' zulu'
125
123
java-version : ' 11'
126
124
- uses : subosito/flutter-action@v2
127
125
with :
128
126
channel : ' stable'
129
- architecture : x64
127
+ cache : true
130
128
- name : Configure Flutter
131
129
run : |
132
130
flutter config --no-analytics
0 commit comments