From 4e565250440379ccc3576d216ba4307fba4c5949 Mon Sep 17 00:00:00 2001 From: cartland Date: Thu, 17 Apr 2025 11:33:09 -0700 Subject: [PATCH 1/2] Add workflow_dispatch trigger to workflows from GitHub --- .github/workflows/unit-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 53c7078..df17d41 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -1,6 +1,7 @@ name: Build and run tests on: + workflow_dispatch: push: branches: [ main ] pull_request: From 36302063209436b156c99ff896948fa6e0fb9b3b Mon Sep 17 00:00:00 2001 From: cartland Date: Mon, 5 May 2025 16:03:47 -0700 Subject: [PATCH 2/2] Update actions/checkout and actions/setup-java This commit updates the versions of the GitHub actions `actions/checkout` and `actions/setup-java` in the `unit-test.yml` workflow file. - Updated `actions/checkout` from `@2541b1294d2704b0964813337f33b291d3f8596b` to `@v4`. - Updated `actions/setup-java` from `@860f60056505705214d223b91ed7a30f173f6142` to `@v4`. --- .github/workflows/unit-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index df17d41..9a75391 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -20,9 +20,9 @@ jobs: # try to nail them down, but it would turn into a game of whack-a-mole. egress-policy: audit disable-telemetry: true - - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3 + - uses: actions/checkout@v4 # v3 - name: set up JDK 11 - uses: actions/setup-java@860f60056505705214d223b91ed7a30f173f6142 # v3 + uses: actions/setup-java@v4 # v3 with: java-version: '11' distribution: 'temurin'