ci: refresh app workflows for node 24

This commit is contained in:
Haitao Pan 2026-06-26 19:27:30 +08:00
parent a09a85c507
commit 4bd7a677c5
3 changed files with 14 additions and 28 deletions

View File

@ -54,7 +54,7 @@ jobs:
release_notes: ${{ steps.meta.outputs.release_notes }}
steps:
- name: Checkout source
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@v7
with:
fetch-depth: 0
@ -77,7 +77,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout source
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@v7
- name: Set up Flutter SDK
uses: ./.github/actions/setup-flutter-sdk
@ -146,12 +146,12 @@ jobs:
SHOULD_RELEASE: ${{ needs.prepare.outputs.should_release }}
steps:
- name: Checkout source
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@v7
- name: Load Vault secrets
id: vault
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
uses: hashicorp/vault-action@v2
uses: hashicorp/vault-action@v4
with:
url: ${{ env.VAULT_ADDR }}
method: jwt
@ -198,7 +198,7 @@ jobs:
- name: Set up Java 17 for Android
if: ${{ matrix.platform == 'android' }}
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: "17"
@ -215,7 +215,7 @@ jobs:
- name: Install Go
if: ${{ matrix.platform == 'macos' && steps.preflight.outputs.should_build_platform == 'true' }}
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff
uses: actions/setup-go@v6
with:
go-version: "1.24.1"
@ -226,7 +226,7 @@ jobs:
- name: Upload build artifacts
if: ${{ steps.preflight.outputs.should_build_platform == 'true' }}
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
uses: actions/upload-artifact@v7
with:
name: ${{ matrix.artifact_name }}
path: ${{ matrix.artifact_paths }}
@ -243,12 +243,12 @@ jobs:
if: ${{ github.event_name != 'push' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
steps:
- name: Checkout source
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@v7
- name: Load Vault secrets
id: vault
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
uses: hashicorp/vault-action@v2
uses: hashicorp/vault-action@v4
with:
url: ${{ env.VAULT_ADDR }}
method: jwt
@ -282,10 +282,10 @@ jobs:
- remote_contract
steps:
- name: Checkout source
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@v7
- name: Download all artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
uses: actions/download-artifact@v8
with:
path: release-artifacts

View File

@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@v7
- name: Setup Flutter
uses: ./.github/actions/setup-flutter-sdk
@ -32,17 +32,3 @@ jobs:
- name: Run Flutter PR layered tests
run: bash ./scripts/ci/run_layered_tests.sh pr
go-unit:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- name: Setup Go
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff
with:
go-version: '1.25.0'
- name: Run Go unit tests
run: cd go/go_core && go test ./...

View File

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@v7
- name: Setup Flutter
uses: ./.github/actions/setup-flutter-sdk
@ -34,7 +34,7 @@ jobs:
continue-on-error: true
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@v7
- name: Setup Flutter
uses: ./.github/actions/setup-flutter-sdk