diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e812842b..9bd6af7b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7049b0a3..e3ce7f54 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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