jake 67be40ad0d
All checks were successful
test / test (push) Successful in 15s
[config] Workflow trigger updates
2025-04-04 14:25:59 -04:00

36 lines
839 B
YAML

name: "test"
run-name: "test"
on:
push:
tags:
- "v*"
- "!v*-beta*"
jobs:
test:
runs-on: [smoketest]
steps:
- uses: actions/checkout@v4
- name: "setup mock go.mod file"
shell: bash
run: |
echo -e "module code.jakeyoungdev.com/actions/install-go\n\ngo 1.24" > go.mod
- name: "run go install script"
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
- name: "check go version"
shell: bash
run: go version | grep "go version go1.24.0 linux/amd64"
- name: "check go installed command"
shell: bash
run: kelp -v | grep "kelp version v0.0.9"