From 8779222f1b784b4acb96618e630b56d6381e33c6 Mon Sep 17 00:00:00 2001 From: bitsandfoxes Date: Thu, 24 Apr 2025 15:25:22 +0200 Subject: [PATCH 1/3] named and renamed smoke test workflows --- .github/workflows/ci.yml | 26 +++++++++---------- ...build.yml => smoke-test-build-android.yml} | 1 + ...est-build.yml => smoke-test-build-ios.yml} | 1 + ...compile.yml => smoke-test-compile-ios.yml} | 1 + ...est-run.yml => smoke-test-run-android.yml} | 1 + ...ke-test-run.yml => smoke-test-run-ios.yml} | 1 + 6 files changed, 18 insertions(+), 13 deletions(-) rename .github/workflows/{android-smoke-test-build.yml => smoke-test-build-android.yml} (99%) rename .github/workflows/{ios-smoke-test-build.yml => smoke-test-build-ios.yml} (99%) rename .github/workflows/{ios-smoke-test-compile.yml => smoke-test-compile-ios.yml} (98%) rename .github/workflows/{android-smoke-test-run.yml => smoke-test-run-android.yml} (98%) rename .github/workflows/{ios-smoke-test-run.yml => smoke-test-run-ios.yml} (98%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58939b7fc..6ac345fd4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -202,7 +202,7 @@ jobs: # Lower retention period - we only need this to retry CI. retention-days: 14 - android-smoke-test-build: + smoke-test-build-android: name: Build Android ${{ matrix.unity-version }} Smoke Test if: ${{ !startsWith(github.ref, 'refs/heads/release/') }} needs: [smoke-test-create] @@ -211,15 +211,15 @@ jobs: fail-fast: false matrix: unity-version: ["2019", "2022", "6000"] - uses: ./.github/workflows/android-smoke-test-build.yml + uses: ./.github/workflows/smoke-test-build-android.yml with: unity-version: ${{ matrix.unity-version }} - android-smoke-test-run: + smoke-test-run-android: name: Run Android ${{ matrix.unity-version }} Smoke Test if: ${{ !startsWith(github.ref, 'refs/heads/release/') }} - needs: [android-smoke-test-build] - uses: ./.github/workflows/android-smoke-test-run.yml + needs: [smoke-test-build-android] + uses: ./.github/workflows/smoke-test-run-android.yml with: unity-version: ${{ matrix.unity-version }} api-level: ${{ matrix.api-level }} @@ -231,7 +231,7 @@ jobs: init-type: ["runtime", "buildtime"] unity-version: ["2019", "2022", "6000"] - ios-smoke-test-build: + smoke-test-build-ios: name: Build iOS ${{ matrix.unity-version }} Smoke Test if: ${{ !startsWith(github.ref, 'refs/heads/release/') }} needs: [smoke-test-create] @@ -240,30 +240,30 @@ jobs: fail-fast: false matrix: unity-version: ["2019", "2022", "6000"] - uses: ./.github/workflows/ios-smoke-test-build.yml + uses: ./.github/workflows/smoke-test-build-ios.yml with: unity-version: ${{ matrix.unity-version }} - ios-smoke-test-compile: + smoke-test-compile-ios: name: Compile iOS ${{ matrix.unity-version }} Smoke Test if: ${{ !startsWith(github.ref, 'refs/heads/release/') }} - needs: [ios-smoke-test-build] + needs: [smoke-test-build-ios] secrets: inherit strategy: fail-fast: false matrix: unity-version: ["2019", "2022", "6000"] init-type: ["runtime", "buildtime"] - uses: ./.github/workflows/ios-smoke-test-compile.yml + uses: ./.github/workflows/smoke-test-compile-ios.yml with: unity-version: ${{ matrix.unity-version }} init-type: ${{ matrix.init-type }} - ios-smoke-test-run: + smoke-test-run-ios: name: Run iOS ${{ matrix.unity-version }} Smoke Test if: ${{ !startsWith(github.ref, 'refs/heads/release/') }} - needs: [ios-smoke-test-compile] - uses: ./.github/workflows/ios-smoke-test-run.yml + needs: [smoke-test-compile-ios] + uses: ./.github/workflows/smoke-test-run-ios.yml with: unity-version: ${{ matrix.unity-version }} ios-version: ${{ matrix.ios-version }} diff --git a/.github/workflows/android-smoke-test-build.yml b/.github/workflows/smoke-test-build-android.yml similarity index 99% rename from .github/workflows/android-smoke-test-build.yml rename to .github/workflows/smoke-test-build-android.yml index 3da40eb04..5035c695a 100644 --- a/.github/workflows/android-smoke-test-build.yml +++ b/.github/workflows/smoke-test-build-android.yml @@ -1,3 +1,4 @@ +name: "SmokeTest: Build Android" on: workflow_call: inputs: diff --git a/.github/workflows/ios-smoke-test-build.yml b/.github/workflows/smoke-test-build-ios.yml similarity index 99% rename from .github/workflows/ios-smoke-test-build.yml rename to .github/workflows/smoke-test-build-ios.yml index 624f22487..d6e709a19 100644 --- a/.github/workflows/ios-smoke-test-build.yml +++ b/.github/workflows/smoke-test-build-ios.yml @@ -1,3 +1,4 @@ +name: "SmokeTest: Build iOS" on: workflow_call: inputs: diff --git a/.github/workflows/ios-smoke-test-compile.yml b/.github/workflows/smoke-test-compile-ios.yml similarity index 98% rename from .github/workflows/ios-smoke-test-compile.yml rename to .github/workflows/smoke-test-compile-ios.yml index c5a20d715..7be6e4e1c 100644 --- a/.github/workflows/ios-smoke-test-compile.yml +++ b/.github/workflows/smoke-test-compile-ios.yml @@ -1,3 +1,4 @@ +name: "SmokeTest: Compile iOS" on: workflow_call: inputs: diff --git a/.github/workflows/android-smoke-test-run.yml b/.github/workflows/smoke-test-run-android.yml similarity index 98% rename from .github/workflows/android-smoke-test-run.yml rename to .github/workflows/smoke-test-run-android.yml index ed735008d..e518830d5 100644 --- a/.github/workflows/android-smoke-test-run.yml +++ b/.github/workflows/smoke-test-run-android.yml @@ -1,3 +1,4 @@ +name: "SmokeTest: Run Android" on: workflow_call: inputs: diff --git a/.github/workflows/ios-smoke-test-run.yml b/.github/workflows/smoke-test-run-ios.yml similarity index 98% rename from .github/workflows/ios-smoke-test-run.yml rename to .github/workflows/smoke-test-run-ios.yml index a5ed528f5..317bbeb9c 100644 --- a/.github/workflows/ios-smoke-test-run.yml +++ b/.github/workflows/smoke-test-run-ios.yml @@ -1,3 +1,4 @@ +name: "SmokeTest: Run iOS" on: workflow_call: inputs: From 80d50ad19bbdbd5e6345e98150351c6acdfba18a Mon Sep 17 00:00:00 2001 From: bitsandfoxes Date: Thu, 24 Apr 2025 15:27:25 +0200 Subject: [PATCH 2/3] missed those two --- .github/workflows/sdk.yml | 1 + .github/workflows/smoke-test-create.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sdk.yml b/.github/workflows/sdk.yml index 5ee8e5f94..31c83d2c7 100644 --- a/.github/workflows/sdk.yml +++ b/.github/workflows/sdk.yml @@ -1,3 +1,4 @@ +name: "Build native SDKs" on: workflow_call: inputs: diff --git a/.github/workflows/smoke-test-create.yml b/.github/workflows/smoke-test-create.yml index 521e94f10..491bc004d 100644 --- a/.github/workflows/smoke-test-create.yml +++ b/.github/workflows/smoke-test-create.yml @@ -1,4 +1,4 @@ -name: Create Smoke Test Project +name: "SmokeTest: Create Project" on: workflow_call: From 9d67538704a10c04f98b6e5e082c1128c7da7709 Mon Sep 17 00:00:00 2001 From: bitsandfoxes Date: Thu, 24 Apr 2025 15:30:43 +0200 Subject: [PATCH 3/3] format --- .github/workflows/build.yml | 3 +-- .github/workflows/ci.yml | 3 +-- .github/workflows/danger.yml | 3 +-- .github/workflows/format-code.yml | 2 +- .github/workflows/release.yml | 3 +-- .github/workflows/smoke-test-create.yml | 1 - .github/workflows/update-deps.yml | 3 +-- 7 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f0deb2acd..26f1a30b8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,4 @@ -name: Build Unity SDK - +name: "Build Unity SDK" on: workflow_call: inputs: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ac345fd4..77704e6d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,4 @@ -name: CI - +name: "CI" on: push: paths-ignore: diff --git a/.github/workflows/danger.yml b/.github/workflows/danger.yml index 000b75ff3..88428efc1 100644 --- a/.github/workflows/danger.yml +++ b/.github/workflows/danger.yml @@ -1,5 +1,4 @@ -name: Danger - +name: "Danger" on: pull_request: types: [opened, synchronize, reopened, edited, ready_for_review] diff --git a/.github/workflows/format-code.yml b/.github/workflows/format-code.yml index d2cb9175e..271c99317 100644 --- a/.github/workflows/format-code.yml +++ b/.github/workflows/format-code.yml @@ -1,4 +1,4 @@ -name: format code +name: "Format Code" on: pull_request: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b45032a05..7a21455a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,4 @@ -name: Release - +name: "Release" on: workflow_dispatch: inputs: diff --git a/.github/workflows/smoke-test-create.yml b/.github/workflows/smoke-test-create.yml index 491bc004d..713defd0a 100644 --- a/.github/workflows/smoke-test-create.yml +++ b/.github/workflows/smoke-test-create.yml @@ -1,5 +1,4 @@ name: "SmokeTest: Create Project" - on: workflow_call: inputs: diff --git a/.github/workflows/update-deps.yml b/.github/workflows/update-deps.yml index cc491e854..8837afa00 100644 --- a/.github/workflows/update-deps.yml +++ b/.github/workflows/update-deps.yml @@ -1,5 +1,4 @@ -name: Update Dependencies - +name: "Update Dependencies" on: # Run every day on multiple occasions, with each job running at a different time to limit license-acquisition issues. schedule: