From ae390bc52918dbe553d68c62753252a296f3d08c Mon Sep 17 00:00:00 2001 From: jake Date: Fri, 4 Apr 2025 14:08:59 -0400 Subject: [PATCH 1/5] [fix] Requiring arch input with default --- .gitea/workflows/test.yaml | 4 +--- action.yaml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 9bd4b61..e6028d4 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -2,9 +2,7 @@ name: "test" run-name: "test" on: push: - tags: - - "v*" - - "!v*-beta*" + branches: master jobs: test: diff --git a/action.yaml b/action.yaml index dbe0be6..0ba21fe 100644 --- a/action.yaml +++ b/action.yaml @@ -3,7 +3,7 @@ description: "simple and fast install for golang and golang commands on linux wo inputs: arch: description: "Optional, the linux architecture to use when downloading Go files (default: amd64)" - required: false + required: true default: "amd64" purge: description: "Optional, deletes any previously installed go versions (yes|no)" From 5b464d64ccf315855184d09f7e80e664bdb88d1e Mon Sep 17 00:00:00 2001 From: jake Date: Fri, 4 Apr 2025 14:09:38 -0400 Subject: [PATCH 2/5] [test] workflow trigger --- .gitea/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index e6028d4..033d6ea 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -2,7 +2,7 @@ name: "test" run-name: "test" on: push: - branches: master + branches: fix/bugfix-input jobs: test: From 4a018168647b6e5e109ef0b4259838c2594f7cd3 Mon Sep 17 00:00:00 2001 From: jake Date: Fri, 4 Apr 2025 14:10:21 -0400 Subject: [PATCH 3/5] [test] workflow trigger --- .gitea/workflows/test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 033d6ea..7018edd 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -2,7 +2,8 @@ name: "test" run-name: "test" on: push: - branches: fix/bugfix-input + branches: + - "**" jobs: test: From 0e0785fb67f92b7e7893351526e1a888f6eba93c Mon Sep 17 00:00:00 2001 From: jake Date: Fri, 4 Apr 2025 14:15:24 -0400 Subject: [PATCH 4/5] [test] fixing workflow - workflow had a bug around env vars - was expecting inputs vs env --- .gitea/workflows/test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 7018edd..3907b2d 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -20,9 +20,11 @@ jobs: shell: bash env: GO_INSTALL_COMMANDS: github.com/jake-young-dev/kelp@v0.0.9 + GO_INSTALL_ARCH: amd64 + GO_INSTALL_PURGE: no run: | chmod +x install.sh - ./install.sh amd64 no + ./install.sh - name: "check go version" shell: bash From 23d8078bcf22ced6463db57ca7d48333995d0135 Mon Sep 17 00:00:00 2001 From: jake Date: Fri, 4 Apr 2025 14:16:47 -0400 Subject: [PATCH 5/5] revert test trigger for merge --- .gitea/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 3907b2d..906459d 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -3,7 +3,7 @@ run-name: "test" on: push: branches: - - "**" + - master jobs: test: