You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ The action follows this resolution order:
65
65
66
66
To change the default behavior, use the `check-latest` input.
67
67
68
-
> **Note**: The setup-go action uses executable binaries built by the Golang team. The action does not build Go from source code.
68
+
> **Note**: The setup-go action uses executable binaries built by the Golang team. The action does not build golang from source code.
69
69
70
70
## Usage
71
71
@@ -134,7 +134,7 @@ steps:
134
134
135
135
**Stable Release**
136
136
137
-
If `stable` is provided, action will get the latest stable version from the go-versions repository manifest.
137
+
If `stable` is provided, action will get the latest stable version from the [go-versions](https://github.com/actions/go-versions/blob/main/versions-manifest.json) repository manifest.
138
138
```yaml
139
139
steps:
140
140
- uses: actions/checkout@v5
@@ -210,7 +210,7 @@ steps:
210
210
211
211
### Caching
212
212
213
-
The action has a built-in functionality for caching and restoring go modules and build outputs. It uses [toolkit/cache](https://github.com/actions/toolkit/tree/main/packages/cache) under the hood but requires less configuration settings. Caching is enabled by default. The action automatically caches and restores Go modules and build outputs using toolkit/cache with minimal configuration.
213
+
The action features integrated caching for Go modules and build outputs. Built on [toolkit/cache](https://github.com/actions/toolkit/tree/main/packages/cache), it simplifies the caching process by requiring fewer configuration options. The cache input is optional, and caching is turned on by default.
214
214
215
215
#### Automatic Caching
216
216
@@ -346,12 +346,12 @@ If that fails as well you can get a higher rate limit with generating a personal
346
346
uses: actions/setup-go@v6
347
347
with:
348
348
token: ${{ secrets.GH_DOTCOM_TOKEN }}
349
-
go-version: '1.18'
349
+
go-version: '1.23'
350
350
```
351
351
352
352
### Offline Runners
353
353
354
-
For runners without github.com access, Go versions must be pre-cached in the runner's tool cache. See "Setting up the tool cache on self-hosted runners without internet access".
354
+
For runners without github.com access, Go versions must be pre-cached in the runner's tool cache. See "[Setting up the tool cache on self-hosted runners without internet access](https://docs.github.com/en/[email protected]/admin/github-actions/managing-access-to-actions-from-githubcom/setting-up-the-tool-cache-on-self-hosted-runners-without-internet-access)".
0 commit comments