From 78fa72b827ee70889c4457db8c7b4056dafc7f81 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 28 Jan 2026 06:34:11 -0500 Subject: [PATCH 1/9] spelling: ; otherwise, Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/contributors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contributors.md b/docs/contributors.md index 4341212..aede5fd 100644 --- a/docs/contributors.md +++ b/docs/contributors.md @@ -62,7 +62,7 @@ Pull requests are the easiest way to contribute changes to git repos at GitHub. - To implement new features or fix bugs, you need to make changes to the `.ts` files, which are located in the `src` folder - To comply with the code style, **you need to run the `format` script** - To lint the code, **you need to run the `lint:fix` script** -- To transpile source code to `javascript` we use [NCC](https://github.com/vercel/ncc). **It is very important to run the `build` script after making changes**, otherwise your changes will not get into the final `javascript` build +- To transpile source code to `javascript` we use [NCC](https://github.com/vercel/ncc). **It is very important to run the `build` script after making changes**; otherwise, your changes will not get into the final `javascript` build - You can also start formatting, building code, and testing with a single `pre-checkin` command **Learn more about how to implement tests:** From 243106de65b67efa19d9df9f67eac75024468715 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 28 Jan 2026 06:35:33 -0500 Subject: [PATCH 2/9] spelling: 'false' Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index c5726e1..d5769f3 100644 --- a/action.yml +++ b/action.yml @@ -8,7 +8,7 @@ inputs: description: 'Path to the go.mod, go.work, .go-version, or .tool-versions file.' check-latest: description: 'Set this option to true if you want the action to always check for the latest available version that satisfies the version spec' - default: false + default: 'false' token: description: Used to pull Go distributions from go-versions. Since there's a default, this is typically not supplied by the user. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting. default: ${{ github.server_url == 'https://github.com' && github.token || '' }} From 0cbef52340e1bf8184e3e4a6b76a27493b908892 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 28 Jan 2026 06:35:38 -0500 Subject: [PATCH 3/9] spelling: 'true' Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index d5769f3..966ce20 100644 --- a/action.yml +++ b/action.yml @@ -14,7 +14,7 @@ inputs: default: ${{ github.server_url == 'https://github.com' && github.token || '' }} cache: description: Used to specify whether caching is needed. Set to true, if you'd like to enable caching. - default: true + default: 'true' cache-dependency-path: description: 'Used to specify the path to a dependency file (e.g., go.mod, go.sum)' architecture: From d3fdef18ef43ce50ead7e7ea3636f737f16216d7 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 28 Jan 2026 06:34:40 -0500 Subject: [PATCH 4/9] spelling: does not exist Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- __tests__/setup-go.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/setup-go.test.ts b/__tests__/setup-go.test.ts index 8cefcce..1c82c9c 100644 --- a/__tests__/setup-go.test.ts +++ b/__tests__/setup-go.test.ts @@ -544,7 +544,7 @@ describe('setup-go', () => { expect(added).toBeFalsy(); }); - it('adds bin if dir not exists', async () => { + it('adds bin if dir does not exist', async () => { whichSpy.mockImplementation(async () => { return '/usr/local/go/bin/go'; }); From bddb73e34411838e6b955f5e78c048e1a297c656 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 28 Jan 2026 06:34:30 -0500 Subject: [PATCH 5/9] spelling: fall back Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- __tests__/setup-go.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/setup-go.test.ts b/__tests__/setup-go.test.ts index 1c82c9c..6b4f7cf 100644 --- a/__tests__/setup-go.test.ts +++ b/__tests__/setup-go.test.ts @@ -756,7 +756,7 @@ describe('setup-go', () => { ); }); - it('fallback to dist if version is not found in manifest', async () => { + it('fall back to dist if version is not found in manifest', async () => { os.platform = 'linux'; os.arch = 'x64'; @@ -793,7 +793,7 @@ describe('setup-go', () => { expect(cnSpy).toHaveBeenCalledWith(`::add-path::${expPath}${osm.EOL}`); }); - it('fallback to dist if manifest is not available', async () => { + it('fall back to dist if manifest is not available', async () => { os.platform = 'linux'; os.arch = 'x64'; From 604183b36d0a9d2ce0b6d9b1ef6bfe7db9b906d2 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 2 Jan 2025 15:37:35 -0500 Subject: [PATCH 6/9] spelling: httpm Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- __tests__/setup-go.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/setup-go.test.ts b/__tests__/setup-go.test.ts index 6b4f7cf..dea9573 100644 --- a/__tests__/setup-go.test.ts +++ b/__tests__/setup-go.test.ts @@ -92,7 +92,7 @@ describe('setup-go', () => { getManifestSpy = jest.spyOn(tc, 'getManifestFromRepo'); getAllVersionsSpy = jest.spyOn(im, 'getManifest'); - // httm + // httpm httpmGetJsonSpy = jest.spyOn(httpm.HttpClient.prototype, 'getJson'); // io From 6d55dd8a59679552955997e74ac92813c9bd3e71 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 2 Jan 2025 15:38:07 -0500 Subject: [PATCH 7/9] spelling: macos Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- __tests__/setup-go.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/setup-go.test.ts b/__tests__/setup-go.test.ts index dea9573..3c0af11 100644 --- a/__tests__/setup-go.test.ts +++ b/__tests__/setup-go.test.ts @@ -146,7 +146,7 @@ describe('setup-go', () => { expect(main.parseGoVersion(goVersionOutput)).toBe('1.16.6'); }); - it('can find 1.9.7 from manifest on osx', async () => { + it('can find 1.9.7 from manifest on macOS', async () => { os.platform = 'darwin'; os.arch = 'x64'; From a1c9436dc7d9a22278a5d74ba5113958e179a21f Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 28 Jan 2026 06:34:55 -0500 Subject: [PATCH 8/9] spelling: set up Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 966ce20..1e7432e 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,5 @@ name: 'Setup Go environment' -description: 'Setup a Go environment and add it to the PATH' +description: 'Set up a Go environment and add it to the PATH' author: 'GitHub' inputs: go-version: From e187a339170d0925e22365c8156ff25922932f10 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 2 Jan 2025 15:38:36 -0500 Subject: [PATCH 9/9] spelling: spell checker Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/contributors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contributors.md b/docs/contributors.md index aede5fd..96c5fa9 100644 --- a/docs/contributors.md +++ b/docs/contributors.md @@ -27,7 +27,7 @@ Pull requests are the easiest way to contribute changes to git repos at GitHub. - Please check that no one else has already created a pull request with these changes - Use a "feature branch" for your changes. That separates the changes in the pull request from your other changes and makes it easy to edit/amend commits in the pull request - Make sure your changes are formatted correctly and consistently with the rest of the documentation -- Re-read what you wrote, and run a spellchecker on it to make sure you didn't miss anything +- Re-read what you wrote, and run a spell checker on it to make sure you didn't miss anything - If your pull request is connected to an open issue, please, leave a link to this issue in the `Related issue:` section - If you later need to add new commits to the pull request, you can simply commit the changes to the local branch and then push them. The pull request gets automatically updated