Skip to content

Commit 495aca6

Browse files
authored
chore: Update actions (#89)
1 parent a5c2cb2 commit 495aca6

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
permissions:
1414
id-token: write
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
- uses: dart-lang/setup-dart@v1
1818
- uses: subosito/flutter-action@v2
1919
with:

.github/workflows/test.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ jobs:
1313
name: webcrypto on Linux desktop / Chrome / Firefox
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
- uses: subosito/flutter-action@v2
1818
with:
1919
channel: 'stable'
20+
cache: true
2021
- name: Configure Flutter
2122
run: |
2223
sudo apt-get update -y
2324
sudo apt-get install -y ninja-build libgtk-3-dev
2425
flutter config --no-analytics
25-
flutter config --enable-linux-desktop
2626
- run: flutter pub get
2727
- run: flutter pub run webcrypto:setup
2828
- run: flutter test
@@ -42,15 +42,14 @@ jobs:
4242
name: webcrypto on macOS desktop / Chrome
4343
runs-on: macos-latest
4444
steps:
45-
- uses: actions/checkout@v3
45+
- uses: actions/checkout@v4
4646
- uses: subosito/flutter-action@v2
4747
with:
4848
channel: 'stable'
49-
architecture: x64
49+
cache: true
5050
- name: Configure Flutter
5151
run: |
5252
flutter config --no-analytics
53-
flutter config --enable-macos-desktop
5453
- run: flutter pub get
5554
- run: flutter pub run webcrypto:setup
5655
- run: flutter test
@@ -71,15 +70,14 @@ jobs:
7170
runs-on: windows-latest
7271
steps:
7372
- uses: ilammy/setup-nasm@v1
74-
- uses: actions/checkout@v3
73+
- uses: actions/checkout@v4
7574
- uses: subosito/flutter-action@v2
7675
with:
7776
channel: 'stable'
78-
architecture: x64
77+
cache: true
7978
- name: Configure Flutter
8079
run: |
8180
flutter config --no-analytics
82-
flutter config --enable-windows-desktop
8381
- run: flutter pub get
8482
- run: flutter pub run webcrypto:setup
8583
- run: flutter test
@@ -100,15 +98,15 @@ jobs:
10098
name: webcrypto on iOS emulator (iPhone)
10199
runs-on: macos-latest
102100
steps:
103-
- uses: actions/checkout@v3
101+
- uses: actions/checkout@v4
104102
- uses: subosito/flutter-action@v2
105103
with:
106104
channel: 'stable'
107-
architecture: x64
105+
cache: true
108106
- name: Configure Flutter
109107
run: |
110108
flutter config --no-analytics
111-
- uses: futureware-tech/simulator-action@v1
109+
- uses: futureware-tech/simulator-action@v3
112110
with:
113111
model: 'iPhone 12'
114112
- run: flutter pub get
@@ -118,15 +116,15 @@ jobs:
118116
name: webcrypto on Android emulator
119117
runs-on: macos-latest
120118
steps:
121-
- uses: actions/checkout@v3
122-
- uses: actions/setup-java@v2
119+
- uses: actions/checkout@v4
120+
- uses: actions/setup-java@v4
123121
with:
124122
distribution: 'zulu'
125123
java-version: '11'
126124
- uses: subosito/flutter-action@v2
127125
with:
128126
channel: 'stable'
129-
architecture: x64
127+
cache: true
130128
- name: Configure Flutter
131129
run: |
132130
flutter config --no-analytics

0 commit comments

Comments
 (0)