diff --git a/.github/workflows/cargo-checkmate.yaml b/.github/workflows/cargo-checkmate.yaml index 41db0da86..59b1fca0a 100644 --- a/.github/workflows/cargo-checkmate.yaml +++ b/.github/workflows/cargo-checkmate.yaml @@ -28,7 +28,7 @@ jobs: tool: cargo-checkmate - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install protoc run: sudo apt-get install protobuf-compiler diff --git a/.github/workflows/ci-nightly.yaml b/.github/workflows/ci-nightly.yaml index c8fccdce0..8a8951983 100644 --- a/.github/workflows/ci-nightly.yaml +++ b/.github/workflows/ci-nightly.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Reject trailing whitespace run: ./utils/trailing-whitespace.sh reject @@ -28,26 +28,41 @@ jobs: create-cache-key: uses: zingolabs/zingo-mobile/.github/workflows/create-cache-key.yaml@dev - build-android: + android-build: strategy: matrix: arch: [ x86_64, x86, arm64-v8a, armeabi-v7a ] fail-fast: false - uses: zingolabs/zingo-mobile/.github/workflows/build.yaml@dev + uses: zingolabs/zingo-mobile/.github/workflows/android-build.yaml@dev needs: create-cache-key with: cache-key: ${{ needs.create-cache-key.outputs.cache-key }} arch: ${{ matrix.arch }} - integration-test-android: + android-ubuntu-integration-test-actions: strategy: matrix: abi: [ x86_64, x86, arm64-v8a, armeabi-v7a ] fail-fast: false - uses: zingolabs/zingo-mobile/.github/workflows/integration-test.yaml@dev - needs: [ create-timestamp, create-cache-key, build-android ] + uses: zingolabs/zingo-mobile/.github/workflows/android-ubuntu-integration-test-actions.yaml@dev + needs: [create-timestamp, android-build] with: timestamp: ${{ needs.create-timestamp.outputs.timestamp }} cache-key: ${{ needs.create-cache-key.outputs.cache-key }} abi: ${{ matrix.abi }} + api-level: 29 + ios-build: + strategy: + fail-fast: false + uses: zingolabs/zingo-mobile/.github/workflows/ios-build.yaml@dev + needs: create-cache-key + with: + cache-key: ${{ needs.create-cache-key.outputs.cache-key }} + + ios-integration-test: + uses: zingolabs/zingo-mobile/.github/workflows/ios-integration-test.yaml@dev + needs: [ create-timestamp, ios-build ] + with: + timestamp: ${{ needs.create-timestamp.outputs.timestamp }} + cache-key: ${{ needs.create-cache-key.outputs.cache-key }} diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 72d53ae2e..3732da27a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,7 +17,7 @@ jobs: if: github.event.pull_request.draft == false steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Reject trailing whitespace run: ./utils/trailing-whitespace.sh reject @@ -30,7 +30,7 @@ jobs: RUSTFLAGS: -D warnings steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 042ba03b8..8a5318d2b 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -16,7 +16,7 @@ jobs: options: --security-opt seccomp=unconfined steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Symlink lightwalletd and zcash binaries run: ln -s /usr/bin/lightwalletd /usr/bin/zcashd /usr/bin/zcash-cli ./libtonode-tests/regtest/bin/ diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 977cffee3..9d2055b8f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -19,7 +19,7 @@ jobs: RUSTFLAGS: -D warnings steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 @@ -39,7 +39,7 @@ jobs: run: cargo nextest archive --verbose --workspace --all-features --archive-file nextest-archive.tar.zst - name: Upload archive - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: nextest-archive path: nextest-archive.tar.zst @@ -59,7 +59,7 @@ jobs: partition: [1, 2, 3, 4, 5, 6, 7, 8] steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: create binaries dir run: mkdir -p ./test_binaries/bins @@ -71,7 +71,7 @@ jobs: run: ln -s /root/.zcash-params /github/home - name: Download archive - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: nextest-archive