Skip to content

Commit

Permalink
chore: Update actions (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
koji-1009 authored Mar 4, 2024
1 parent a5c2cb2 commit 495aca6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- uses: subosito/flutter-action@v2
with:
Expand Down
26 changes: 12 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ jobs:
name: webcrypto on Linux desktop / Chrome / Firefox
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: Configure Flutter
run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev
flutter config --no-analytics
flutter config --enable-linux-desktop
- run: flutter pub get
- run: flutter pub run webcrypto:setup
- run: flutter test
Expand All @@ -42,15 +42,14 @@ jobs:
name: webcrypto on macOS desktop / Chrome
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
architecture: x64
cache: true
- name: Configure Flutter
run: |
flutter config --no-analytics
flutter config --enable-macos-desktop
- run: flutter pub get
- run: flutter pub run webcrypto:setup
- run: flutter test
Expand All @@ -71,15 +70,14 @@ jobs:
runs-on: windows-latest
steps:
- uses: ilammy/setup-nasm@v1
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
architecture: x64
cache: true
- name: Configure Flutter
run: |
flutter config --no-analytics
flutter config --enable-windows-desktop
- run: flutter pub get
- run: flutter pub run webcrypto:setup
- run: flutter test
Expand All @@ -100,15 +98,15 @@ jobs:
name: webcrypto on iOS emulator (iPhone)
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
architecture: x64
cache: true
- name: Configure Flutter
run: |
flutter config --no-analytics
- uses: futureware-tech/simulator-action@v1
- uses: futureware-tech/simulator-action@v3
with:
model: 'iPhone 12'
- run: flutter pub get
Expand All @@ -118,15 +116,15 @@ jobs:
name: webcrypto on Android emulator
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '11'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
architecture: x64
cache: true
- name: Configure Flutter
run: |
flutter config --no-analytics
Expand Down

0 comments on commit 495aca6

Please sign in to comment.