From d0bce850e0875f7d85fad33d91d543bc7d20d202 Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 27 May 2026 14:45:39 -0400 Subject: [PATCH] update readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6ce8a1d..6ae6a55 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,17 @@ An extremely simple github action to install golang and golang commands (using " ## Usage -Use a tagged release to avoid unexpected changes that may come to the master branch +Use a tagged release to avoid unexpected changes that may come to the main branch ```yaml name: "install go" - uses: https://code.jakeyoungdev.com/actions/install-go@master + uses: https://code.jakeyoungdev.com/actions/install-go@main with: commands: | code.jakeyoungdev.com/jake/mctl@v0.3.3 ``` #### Go verions -The Go version installed is determined by the version specified in the go.mod file. If not mod file is present the 'version' input is used. Go files are pulled directly from the Go download [site](https://go.dev/dl/) and all go commands are installed using 'go install' after setup. If a different version of Go is already installed the 'purge' input must be set to 'yes' to remove it and avoid errors. +The go version installed is either determined by the version input, or the version found in a go.mod file if the input is not set. Go files are pulled directly from the Go download [site](https://go.dev/dl/) and all go commands are installed using 'go install' after setup. If a different version of Go is already installed the 'purge' input must be set to 'yes' to remove it and avoid errors. #### Inputs Some inputs are available to customize the installation @@ -23,7 +23,7 @@ Some inputs are available to customize the installation |arch|no|any arch for Go|amd64|system architecture for go |purge|no|yes/no|no|remove any go files found on system before install |commands|no|any public go repositories|.|links to any commands to be installed using 'go install' -|version|no|any go version|.|the go version to use if no mod file is present +|version|no|any go version|version in go.mod file|the go version to install ## Issues This repo is a as brain-dead as I could make it and is intended to be as fast and low-level as possible. Please open an issue for any problems or suggestions. \ No newline at end of file