Compare commits

..

No commits in common. "master" and "v0.1.0" have entirely different histories.

4 changed files with 6 additions and 8 deletions

View File

@ -2,8 +2,9 @@ name: "test"
run-name: "test" run-name: "test"
on: on:
push: push:
branches: tags:
- master - "v*"
- "!v*-beta*"
jobs: jobs:
test: test:
@ -20,11 +21,9 @@ jobs:
shell: bash shell: bash
env: env:
GO_INSTALL_COMMANDS: github.com/jake-young-dev/kelp@v0.0.9 GO_INSTALL_COMMANDS: github.com/jake-young-dev/kelp@v0.0.9
GO_INSTALL_ARCH: amd64
GO_INSTALL_PURGE: no
run: | run: |
chmod +x install.sh chmod +x install.sh
./install.sh ./install.sh amd64 no
- name: "check go version" - name: "check go version"
shell: bash shell: bash

View File

@ -1,5 +1,4 @@
# install-go # install-go
![tests](https://code.jakeyoungdev.com/actions/install-go/actions/workflows/test.yaml/badge.svg?branch=master&event=push) <br />
An extremely simple github action to install golang and golang commands (using "go install") on linux hosts. This provides the ability to install and setup golang without node/typescript which is required when using [actions/setup-go](https://github.com/actions/setup-go). An extremely simple github action to install golang and golang commands (using "go install") on linux hosts. This provides the ability to install and setup golang without node/typescript which is required when using [actions/setup-go](https://github.com/actions/setup-go).
@ -10,7 +9,7 @@ Use a tagged release to avoid unexpected changes that may come to the master bra
uses: https://code.jakeyoungdev.com/actions/install-go@master uses: https://code.jakeyoungdev.com/actions/install-go@master
with: with:
commands: | commands: |
code.jakeyoungdev.com/jake/mctl@v0.3.3 github.com/jake-young-dev/kelp@v0.0.9
``` ```
#### Go verions #### Go verions

View File

@ -3,7 +3,7 @@ description: "simple and fast install for golang and golang commands on linux wo
inputs: inputs:
arch: arch:
description: "Optional, the linux architecture to use when downloading Go files (default: amd64)" description: "Optional, the linux architecture to use when downloading Go files (default: amd64)"
required: true required: false
default: "amd64" default: "amd64"
purge: purge:
description: "Optional, deletes any previously installed go versions (yes|no)" description: "Optional, deletes any previously installed go versions (yes|no)"

0
install.sh Executable file → Normal file
View File