From 4bb969f512405d896697f7acf43a805fc36a2827 Mon Sep 17 00:00:00 2001 From: Leonardo Colman Date: Sat, 16 Jul 2022 08:47:32 -0300 Subject: [PATCH 1/4] Add action-types.yml Adds types in accordance to https://github.com/krzema12/github-actions-typing --- action-types.yml | 64 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 action-types.yml diff --git a/action-types.yml b/action-types.yml new file mode 100644 index 000000000..6baefd40c --- /dev/null +++ b/action-types.yml @@ -0,0 +1,64 @@ +inputs: + api-level: + type: integer + target: + type: enum + allowed-values: + - default + - google_apis + - google_apis_playstore + - aosp_atd + - google_atd + - android-wear + - android-wear-cn + - android-tv + - google-tv + arch: + type: enum + allowed-values: + - x86 + - x86_64 + - arm64-v8a + profile: + type: string + cores: + type: int + ram-size: + type: string + heap-size: + type: string + sdcard-path-or-size: + type: string + disk-size: + type: string + avd-name: + type: string + force-avd-creation: + type: boolean + emulator-options: + type: string + disable-animations: + type: boolean + disable-spellchecker: + type: boolean + disable-linux-hw-accel: + type: string + enable-hw-keyboard: + type: boolean + emulator-build: + type: string + working-directory: + type: string + ndk: + type: string + cmake: + type: string + channel: + type: enum + allowed-values: + - stable + - beta + - dev + - canary + script: + type: string From 3b4ef2da0d34dc9f94ef67c080bf7815a9bad1f4 Mon Sep 17 00:00:00 2001 From: Leonardo Colman Date: Sat, 16 Jul 2022 08:48:18 -0300 Subject: [PATCH 2/4] Create action-types.yml --- .github/workflows/action-types.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/action-types.yml diff --git a/.github/workflows/action-types.yml b/.github/workflows/action-types.yml new file mode 100644 index 000000000..0c6715803 --- /dev/null +++ b/.github/workflows/action-types.yml @@ -0,0 +1,13 @@ +name: Validate action typings + +on: + push: [main] + pull_request: + workflow_dispatch: + +jobs: + validate-typings: + runs-on: "ubuntu-latest" + steps: + - uses: actions/checkout@v3 + - uses: krzema12/github-actions-typing@v0 From d9d045b5a09291810f8a666c6e7c07f3c3a0892c Mon Sep 17 00:00:00 2001 From: Leonardo Colman Date: Sat, 16 Jul 2022 11:13:05 -0300 Subject: [PATCH 3/4] Update action-types.yml --- .github/workflows/action-types.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/action-types.yml b/.github/workflows/action-types.yml index 0c6715803..90f969154 100644 --- a/.github/workflows/action-types.yml +++ b/.github/workflows/action-types.yml @@ -1,7 +1,7 @@ name: Validate action typings on: - push: [main] + push: pull_request: workflow_dispatch: From f61649f30a683b1a03c43d61d255ac0cb7632772 Mon Sep 17 00:00:00 2001 From: Leonardo Colman Date: Sat, 16 Jul 2022 11:15:47 -0300 Subject: [PATCH 4/4] Update action-types.yml --- action-types.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action-types.yml b/action-types.yml index 6baefd40c..6299ab960 100644 --- a/action-types.yml +++ b/action-types.yml @@ -22,7 +22,7 @@ inputs: profile: type: string cores: - type: int + type: integer ram-size: type: string heap-size: