adding version input, adjusting tests
Some checks failed
test / test (push) Failing after 3s

This commit is contained in:
2025-05-22 21:49:48 -04:00
parent d45fdbf3ca
commit 55cb2b2be5
4 changed files with 33 additions and 9 deletions

View File

@@ -17,7 +17,6 @@ jobs:
shell: bash
env:
GO_INSTALL_COMMANDS: code.jakeyoungdev.com/jake/mctl@v0.3.4
GO_INSTALL_ARCH: amd64
run: |
chmod +x install.sh
./install.sh
@@ -28,4 +27,18 @@ jobs:
- name: "check go installed command"
shell: bash
run: mctl -v | grep "mctl version v0.3.4"
run: mctl -v | grep "mctl version v0.3.4"
- name: "remove go"
shell: bash
env:
GO_INSTALL_COMMANDS: code.jakeyoungdev.com/jake/mctl@v0.3.4
GO_INSTALL_PURGE: yes
GO_INSTALL_VERSION: 1.23.2
run: |
rm go.mod
./install.sh
- name: "check go version"
shell: bash
run: go version | grep "go version go1.23.2 linux/amd64"