breaking tests apart
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
name: "test"
|
name: "tests"
|
||||||
run-name: "test"
|
run-name: "tests"
|
||||||
on: push
|
on: push
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test-gomod:
|
||||||
runs-on: wind
|
runs-on: wind
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -30,15 +30,18 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: mctl -v | grep "mctl version v0.3.4"
|
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
|
shell: bash
|
||||||
env:
|
env:
|
||||||
GO_INSTALL_COMMANDS: code.jakeyoungdev.com/jake/mctl@v0.3.4
|
GO_INSTALL_COMMANDS: code.jakeyoungdev.com/jake/mctl@v0.3.4
|
||||||
GO_INSTALL_PURGE: yes
|
|
||||||
GO_INSTALL_VERSION: 1.23.2
|
GO_INSTALL_VERSION: 1.23.2
|
||||||
GO_INSTALL_ARCH: amd64
|
GO_INSTALL_ARCH: amd64
|
||||||
run: |
|
run: |
|
||||||
rm go.mod
|
chmod +x install.sh
|
||||||
./install.sh
|
./install.sh
|
||||||
|
|
||||||
- name: "check go version"
|
- name: "check go version"
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ if [[ -z $GO_INSTALL_VERSION ]]; then
|
|||||||
fixVersion
|
fixVersion
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
DL_VERSION_RAW="$GO_INSTALL_VERSION"
|
DL_VERSION_RAW=$GO_INSTALL_VERSION
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user