From b25fd78dd5db0d345586f717aab5faddc4388608 Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 27 May 2026 14:28:28 -0400 Subject: [PATCH] breaking tests apart --- .gitea/workflows/test.yaml | 15 +++++++++------ install.sh | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index e39763e..58175aa 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -1,9 +1,9 @@ -name: "test" -run-name: "test" +name: "tests" +run-name: "tests" on: push jobs: - test: + test-gomod: runs-on: wind steps: - uses: actions/checkout@v4 @@ -30,15 +30,18 @@ jobs: shell: bash run: mctl -v | grep "mctl version v0.3.4" - - name: "remove go" + test-versioninput: + runs-on: wind + steps: + - uses: actions/checkout@v4 + - name: "install go with version input" shell: bash env: GO_INSTALL_COMMANDS: code.jakeyoungdev.com/jake/mctl@v0.3.4 - GO_INSTALL_PURGE: yes GO_INSTALL_VERSION: 1.23.2 GO_INSTALL_ARCH: amd64 run: | - rm go.mod + chmod +x install.sh ./install.sh - name: "check go version" diff --git a/install.sh b/install.sh index d51f453..3a12c54 100755 --- a/install.sh +++ b/install.sh @@ -44,7 +44,7 @@ if [[ -z $GO_INSTALL_VERSION ]]; then fixVersion fi else - DL_VERSION_RAW="$GO_INSTALL_VERSION" + DL_VERSION_RAW=$GO_INSTALL_VERSION fi