From f8222f2953b21ddfc35608e3d461db362d1bd678 Mon Sep 17 00:00:00 2001 From: jake Date: Fri, 3 Apr 2026 00:27:33 -0400 Subject: [PATCH] adding todo and saving spot, its late --- README.md | 4 +++- action.yaml | 8 +++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4e22371..6239b19 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,6 @@ donotpassgo is a github/gitea action to run standard go checks in pipelines. ## TODO explain inputs in readme test -does file naming matter here if the project has install.sh or /src will we overwrite? \ No newline at end of file +does file naming matter here if the project has install.sh or /src will we overwrite? +review MR, im drunk-ish +some jobs need env vars still lol \ No newline at end of file diff --git a/action.yaml b/action.yaml index 6d8e704..8f9e5d1 100644 --- a/action.yaml +++ b/action.yaml @@ -6,7 +6,7 @@ inputs: required: false default: "none" test-version: #TEST_VERSION - description: "the test library version, if the version is none or standard this value is ignored" + description: "the test library version, if the library is none or standard this value is ignored" required: false default: "latest" test-fail: #TEST_FAIL @@ -36,10 +36,16 @@ runs: - name: "install dependencies" shell: bash run: ${{ github.action_path }}/src/install.sh + env: + TEST_LIBRARY: ${{ inputs.test-library }} + TEST_VERSION: ${{ inputs.test-version }} - name: "run unit tests" shell: bash run: ${{ github.action_path }}/src/test.sh + env: + TEST_LIBRARY: ${{ inputs.test-library }} + TEST_FAIL: ${{ inputs.test-fail }} - name: "run security checks" shell: bash