Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ on:
push:
branches:
- main
workflow_dispatch:
inputs:
pr_number:
description: Pull request number used for concurrency
required: true
type: string

concurrency:
group: ${{ github.workflow }}-${{ inputs.pr_number || github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand All @@ -22,6 +32,9 @@ jobs:

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,30 @@
name: 'lint'
on:
pull_request:
workflow_dispatch:
inputs:
pr_number:
description: Pull request number used for concurrency
required: true
type: string

permissions:
contents: read

jobs:
test:
name: run lint
runs-on: ubuntu-latest
timeout-minutes: 20
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ inputs.pr_number || github.event.pull_request.number || github.ref }}
cancel-in-progress: true

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
Expand Down
60 changes: 51 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: build-test
on:
pull_request:
workflow_dispatch:
inputs:
pr_number:
description: Pull request number used for concurrency
required: true
type: string

permissions:
contents: read

jobs:
test:
Expand All @@ -13,11 +22,14 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
sdk: [35, 36, "37.0"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.sdk }}-test
group: ${{ github.workflow }}-${{ inputs.pr_number || github.event.pull_request.number || github.ref }}-${{ matrix.os }}-${{ matrix.sdk }}-test
cancel-in-progress: true

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false

- name: remove android sdk from ubuntu-latest
shell: bash
Expand Down Expand Up @@ -58,11 +70,14 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-test_not_use_cache
group: ${{ github.workflow }}-${{ inputs.pr_number || github.event.pull_request.number || github.ref }}-${{ matrix.os }}-test_not_use_cache
cancel-in-progress: true

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false

- name: remove android sdk from ubuntu-latest
shell: bash
Expand Down Expand Up @@ -103,11 +118,14 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-test_check_cmdline_tools_path
group: ${{ github.workflow }}-${{ inputs.pr_number || github.event.pull_request.number || github.ref }}-${{ matrix.os }}-test_check_cmdline_tools_path
cancel-in-progress: true

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false

- name: remove android sdk from ubuntu-latest
shell: bash
Expand Down Expand Up @@ -144,11 +162,14 @@ jobs:
matrix:
sdk: [37, "37.0"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.sdk }}-test_android_minor_sdk_version
group: ${{ github.workflow }}-${{ inputs.pr_number || github.event.pull_request.number || github.ref }}-${{ matrix.sdk }}-test_android_minor_sdk_version
cancel-in-progress: true

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false

- name: remove android sdk from ubuntu-latest
shell: bash
Expand Down Expand Up @@ -181,9 +202,15 @@ jobs:
name: run test unavailable codename sdk version error
runs-on: ubuntu-latest
timeout-minutes: 20
concurrency:
group: ${{ github.workflow }}-${{ inputs.pr_number || github.event.pull_request.number || github.ref }}-test_unavailable_codename_sdk_version_error
cancel-in-progress: true

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false

- name: Setup JDK 17
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
Expand Down Expand Up @@ -220,11 +247,14 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-test_custom_cache_key
group: ${{ github.workflow }}-${{ inputs.pr_number || github.event.pull_request.number || github.ref }}-${{ matrix.os }}-test_custom_cache_key
cancel-in-progress: true

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false

- name: remove android sdk from ubuntu-latest
shell: bash
Expand Down Expand Up @@ -261,11 +291,14 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-test_install_multiple_sdk_version
group: ${{ github.workflow }}-${{ inputs.pr_number || github.event.pull_request.number || github.ref }}-${{ matrix.os }}-test_install_multiple_sdk_version
cancel-in-progress: true

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false

- name: remove android sdk from ubuntu-latest
shell: bash
Expand Down Expand Up @@ -305,11 +338,14 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
command-line-tools-version: [13114758, 12266719, 11479570]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.command-line-tools-version }}-test_command_line_tools_version
group: ${{ github.workflow }}-${{ inputs.pr_number || github.event.pull_request.number || github.ref }}-${{ matrix.os }}-${{ matrix.command-line-tools-version }}-test_command_line_tools_version
cancel-in-progress: true

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false

- name: remove android sdk from ubuntu-latest
shell: bash
Expand Down Expand Up @@ -352,11 +388,14 @@ jobs:
node_architecture: arm64
expected_url: https://dl.google.com/android/repository/commandlinetools-mac_arm64-15859902_latest.zip
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-test_command_line_tools_mac_architecture
group: ${{ github.workflow }}-${{ inputs.pr_number || github.event.pull_request.number || github.ref }}-${{ matrix.os }}-test_command_line_tools_mac_architecture
cancel-in-progress: true

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false

- name: Remove preinstalled Android SDK
shell: bash
Expand Down Expand Up @@ -408,11 +447,14 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-test_install_multiple_build_tools_version
group: ${{ github.workflow }}-${{ inputs.pr_number || github.event.pull_request.number || github.ref }}-${{ matrix.os }}-test_install_multiple_build_tools_version
cancel-in-progress: true

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false

- name: remove android sdk from ubuntu-latest
shell: bash
Expand Down
Loading
Loading