From a1138377c7ccb849b4d9d0791a66800e07f967bf Mon Sep 17 00:00:00 2001 From: Alex Perathoner <31958579+AlexPerathoner@users.noreply.github.com> Date: Mon, 27 Mar 2023 04:29:40 +0200 Subject: [PATCH 01/16] Update readme Update CNAME Update CNAME Delete CNAME Update README.md --- docs/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index 94f52d86..dce8547c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -4,7 +4,7 @@ Every day you change your volume or brightness and an ugly and unbelievably old overlay animation appears. *SlimHUD* is what you need. - + ## Installation @@ -13,6 +13,6 @@ Download the latest release [here](https://github.com/AlexPerathoner/SlimHUD/rel Or use `brew install slimhud`! ## Support -Even starring this project on [GitHub](https://github.com/AlexPerathoner/SlimHUD/) is a great support! If you want to support me even more, you can buy me a beer! :D +Even starring this project on [GitHub](https://github.com/AlexPerathoner/SlimHUD/) is a great way to support! If you want to support me even more, you can buy me a beer or [sponsor this project](https://github.com/sponsors/AlexPerathoner)! :D
From a54d827d648174db0c235a0b2788f68d2cc78d5a Mon Sep 17 00:00:00 2001 From: Alex Perathoner Date: Mon, 22 May 2023 05:39:57 +0200 Subject: [PATCH 02/16] CICD: add workflow-telemetry-action CICD: update metric_frequency add change in ui tests folder to trigger gh action fix workflow --- .github/workflows/xcode-build.yml | 4 ++++ SlimHUDUITests/SettingsUITests.swift | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/xcode-build.yml b/.github/workflows/xcode-build.yml index b158364f..d19450d9 100644 --- a/.github/workflows/xcode-build.yml +++ b/.github/workflows/xcode-build.yml @@ -30,6 +30,10 @@ jobs: - name: Switch Xcode version run: sudo xcode-select -s "/Applications/Xcode_14.2.app" + - name: Collect Workflow Telemetry + uses: runforesight/workflow-telemetry-action@v1 + with: + metric_frequency: 0.5 - name: Build and Test continue-on-error: true id: run-tests diff --git a/SlimHUDUITests/SettingsUITests.swift b/SlimHUDUITests/SettingsUITests.swift index 516abe0f..6fa26386 100644 --- a/SlimHUDUITests/SettingsUITests.swift +++ b/SlimHUDUITests/SettingsUITests.swift @@ -192,4 +192,5 @@ final class SettingsUITest: SparkleUITests { .pixelAt(x: Int(position.x), y: Int(position.y)) XCTAssertNotEqual(firstColor, secondColor) } + } From 6d9fe4c765df4de32c3e6838ab9088a94d5232f5 Mon Sep 17 00:00:00 2001 From: Alex Perathoner Date: Mon, 29 May 2023 16:57:18 +0200 Subject: [PATCH 03/16] use custom gh monitoring action --- .github/workflows/xcode-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xcode-build.yml b/.github/workflows/xcode-build.yml index d19450d9..1da493e4 100644 --- a/.github/workflows/xcode-build.yml +++ b/.github/workflows/xcode-build.yml @@ -31,7 +31,7 @@ jobs: - name: Switch Xcode version run: sudo xcode-select -s "/Applications/Xcode_14.2.app" - name: Collect Workflow Telemetry - uses: runforesight/workflow-telemetry-action@v1 + uses: AlexPerathoner/workflow-telemetry-action@v0.2 with: metric_frequency: 0.5 - name: Build and Test From 292f5e450d88feefd699bc9055e7a5c28011ba0d Mon Sep 17 00:00:00 2001 From: Alex Perathoner Date: Mon, 29 May 2023 17:35:12 +0200 Subject: [PATCH 04/16] temporarily remove ui test for monitoring --- .../xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SlimHUD.xcodeproj/xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme b/SlimHUD.xcodeproj/xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme index e11a9cd0..be4f810b 100644 --- a/SlimHUD.xcodeproj/xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme +++ b/SlimHUD.xcodeproj/xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme @@ -65,7 +65,7 @@ + skipped = "YES"> Date: Mon, 29 May 2023 17:40:56 +0200 Subject: [PATCH 05/16] fix force try violation --- SlimHUDUITests/HudsUITests.swift | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/SlimHUDUITests/HudsUITests.swift b/SlimHUDUITests/HudsUITests.swift index 117d4d2f..e117074a 100644 --- a/SlimHUDUITests/HudsUITests.swift +++ b/SlimHUDUITests/HudsUITests.swift @@ -17,7 +17,11 @@ final class HudsUITest: SparkleUITests { XCTAssert(app.windows.count == 0) DispatchQueue.global().async { - try! self.changeVolume() + do { + try self.changeVolume() + } catch { + fatalError("Could not run change volume script") + } } sleep(1) XCTAssertTrue(isVolumeHudVisible(app: app)) @@ -47,7 +51,11 @@ final class HudsUITest: SparkleUITests { sleep(1) DispatchQueue.global().async { - try! self.changeVolume() + do { + try self.changeVolume() + } catch { + fatalError("Could not run change volume script") + } } sleep(1) XCTAssertTrue(isVolumeHudVisible(app: app)) From 8f4ab87d1d3e43849c8b5eb9ef6c39dd9d68f7ce Mon Sep 17 00:00:00 2001 From: Alex Perathoner Date: Mon, 29 May 2023 17:47:36 +0200 Subject: [PATCH 06/16] bump monitoring action --- .github/workflows/xcode-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xcode-build.yml b/.github/workflows/xcode-build.yml index 1da493e4..e5c04b0d 100644 --- a/.github/workflows/xcode-build.yml +++ b/.github/workflows/xcode-build.yml @@ -31,7 +31,7 @@ jobs: - name: Switch Xcode version run: sudo xcode-select -s "/Applications/Xcode_14.2.app" - name: Collect Workflow Telemetry - uses: AlexPerathoner/workflow-telemetry-action@v0.2 + uses: AlexPerathoner/workflow-telemetry-action@v0.3 with: metric_frequency: 0.5 - name: Build and Test From d187c0c10cdbf27466d6b651a0b7811540ab5daa Mon Sep 17 00:00:00 2001 From: Alex Perathoner Date: Mon, 29 May 2023 18:04:55 +0200 Subject: [PATCH 07/16] bump monitoring action version --- .github/workflows/xcode-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xcode-build.yml b/.github/workflows/xcode-build.yml index e5c04b0d..eac733ed 100644 --- a/.github/workflows/xcode-build.yml +++ b/.github/workflows/xcode-build.yml @@ -31,7 +31,7 @@ jobs: - name: Switch Xcode version run: sudo xcode-select -s "/Applications/Xcode_14.2.app" - name: Collect Workflow Telemetry - uses: AlexPerathoner/workflow-telemetry-action@v0.3 + uses: AlexPerathoner/workflow-telemetry-action@v0.4 with: metric_frequency: 0.5 - name: Build and Test From 97b1b67e1d0d00da13a2ed4ec0ef26d0e4f513e6 Mon Sep 17 00:00:00 2001 From: Alex Perathoner Date: Mon, 29 May 2023 18:57:20 +0200 Subject: [PATCH 08/16] bump v --- .github/workflows/xcode-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/xcode-build.yml b/.github/workflows/xcode-build.yml index eac733ed..ca4236d0 100644 --- a/.github/workflows/xcode-build.yml +++ b/.github/workflows/xcode-build.yml @@ -31,9 +31,9 @@ jobs: - name: Switch Xcode version run: sudo xcode-select -s "/Applications/Xcode_14.2.app" - name: Collect Workflow Telemetry - uses: AlexPerathoner/workflow-telemetry-action@v0.4 + uses: AlexPerathoner/workflow-telemetry-action@v0.5 with: - metric_frequency: 0.5 + metric_frequency: 0.2 - name: Build and Test continue-on-error: true id: run-tests From d6a7121f0bf5304196d837a1ffba7e5ff8477138 Mon Sep 17 00:00:00 2001 From: Alex Perathoner Date: Mon, 29 May 2023 19:11:08 +0200 Subject: [PATCH 09/16] bump v --- .github/workflows/xcode-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xcode-build.yml b/.github/workflows/xcode-build.yml index ca4236d0..63f6d489 100644 --- a/.github/workflows/xcode-build.yml +++ b/.github/workflows/xcode-build.yml @@ -31,7 +31,7 @@ jobs: - name: Switch Xcode version run: sudo xcode-select -s "/Applications/Xcode_14.2.app" - name: Collect Workflow Telemetry - uses: AlexPerathoner/workflow-telemetry-action@v0.5 + uses: AlexPerathoner/workflow-telemetry-action@v0.6 with: metric_frequency: 0.2 - name: Build and Test From 1cf9af8915f43d5270f19aeae95e5c6bc7395fe0 Mon Sep 17 00:00:00 2001 From: Alex Perathoner Date: Mon, 29 May 2023 19:21:10 +0200 Subject: [PATCH 10/16] bump v --- .github/workflows/xcode-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xcode-build.yml b/.github/workflows/xcode-build.yml index 63f6d489..65491bde 100644 --- a/.github/workflows/xcode-build.yml +++ b/.github/workflows/xcode-build.yml @@ -31,7 +31,7 @@ jobs: - name: Switch Xcode version run: sudo xcode-select -s "/Applications/Xcode_14.2.app" - name: Collect Workflow Telemetry - uses: AlexPerathoner/workflow-telemetry-action@v0.6 + uses: AlexPerathoner/workflow-telemetry-action@v0.7 with: metric_frequency: 0.2 - name: Build and Test From 0e757f28381ee3476fc4a20326062b6459b7acc2 Mon Sep 17 00:00:00 2001 From: Alex Perathoner Date: Mon, 29 May 2023 17:35:12 +0200 Subject: [PATCH 11/16] Revert "temporarily remove ui test for monitoring" This reverts commit 292f5e450d88feefd699bc9055e7a5c28011ba0d. --- .../xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SlimHUD.xcodeproj/xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme b/SlimHUD.xcodeproj/xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme index be4f810b..e11a9cd0 100644 --- a/SlimHUD.xcodeproj/xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme +++ b/SlimHUD.xcodeproj/xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme @@ -65,7 +65,7 @@ + skipped = "NO"> Date: Mon, 29 May 2023 22:17:00 +0200 Subject: [PATCH 12/16] update frequency --- .github/workflows/xcode-build.yml | 2 +- .../xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/xcode-build.yml b/.github/workflows/xcode-build.yml index 65491bde..b7178315 100644 --- a/.github/workflows/xcode-build.yml +++ b/.github/workflows/xcode-build.yml @@ -33,7 +33,7 @@ jobs: - name: Collect Workflow Telemetry uses: AlexPerathoner/workflow-telemetry-action@v0.7 with: - metric_frequency: 0.2 + metric_frequency: 5 - name: Build and Test continue-on-error: true id: run-tests diff --git a/SlimHUD.xcodeproj/xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme b/SlimHUD.xcodeproj/xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme index e11a9cd0..be4f810b 100644 --- a/SlimHUD.xcodeproj/xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme +++ b/SlimHUD.xcodeproj/xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme @@ -65,7 +65,7 @@ + skipped = "YES"> Date: Mon, 29 May 2023 22:26:55 +0200 Subject: [PATCH 13/16] update frequency (thousands) --- .github/workflows/xcode-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xcode-build.yml b/.github/workflows/xcode-build.yml index b7178315..3c885b2e 100644 --- a/.github/workflows/xcode-build.yml +++ b/.github/workflows/xcode-build.yml @@ -33,7 +33,7 @@ jobs: - name: Collect Workflow Telemetry uses: AlexPerathoner/workflow-telemetry-action@v0.7 with: - metric_frequency: 5 + metric_frequency_thousands_of_second: 200 - name: Build and Test continue-on-error: true id: run-tests From a2ff4be6059709d36bc750cf95b6cc323140b960 Mon Sep 17 00:00:00 2001 From: Alex Perathoner Date: Mon, 29 May 2023 22:34:00 +0200 Subject: [PATCH 14/16] bump v --- .github/workflows/xcode-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xcode-build.yml b/.github/workflows/xcode-build.yml index 3c885b2e..f28014cc 100644 --- a/.github/workflows/xcode-build.yml +++ b/.github/workflows/xcode-build.yml @@ -31,7 +31,7 @@ jobs: - name: Switch Xcode version run: sudo xcode-select -s "/Applications/Xcode_14.2.app" - name: Collect Workflow Telemetry - uses: AlexPerathoner/workflow-telemetry-action@v0.7 + uses: AlexPerathoner/workflow-telemetry-action@v0.8 with: metric_frequency_thousands_of_second: 200 - name: Build and Test From 3e3462828f4c44c6503a73a00c085ab05aa8fc55 Mon Sep 17 00:00:00 2001 From: Alex Perathoner Date: Mon, 29 May 2023 22:42:38 +0200 Subject: [PATCH 15/16] revert disable UI tests --- .../xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SlimHUD.xcodeproj/xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme b/SlimHUD.xcodeproj/xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme index be4f810b..e11a9cd0 100644 --- a/SlimHUD.xcodeproj/xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme +++ b/SlimHUD.xcodeproj/xcshareddata/xcschemes/SlimHUD-GitHub-Action.xcscheme @@ -65,7 +65,7 @@ + skipped = "NO"> Date: Mon, 29 May 2023 23:21:14 +0200 Subject: [PATCH 16/16] bump v --- .github/workflows/xcode-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/xcode-build.yml b/.github/workflows/xcode-build.yml index f28014cc..71f48e2c 100644 --- a/.github/workflows/xcode-build.yml +++ b/.github/workflows/xcode-build.yml @@ -31,9 +31,9 @@ jobs: - name: Switch Xcode version run: sudo xcode-select -s "/Applications/Xcode_14.2.app" - name: Collect Workflow Telemetry - uses: AlexPerathoner/workflow-telemetry-action@v0.8 + uses: AlexPerathoner/workflow-telemetry-action@v0.9 with: - metric_frequency_thousands_of_second: 200 + metric_frequency_thousands_of_second: 100 - name: Build and Test continue-on-error: true id: run-tests