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
+23-23Lines changed: 23 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,17 +50,17 @@ Matching by [semver spec](https://github.com/npm/node-semver):
50
50
51
51
```yaml
52
52
steps:
53
-
- uses: actions/checkout@v4
54
-
- uses: actions/setup-go@v5
53
+
- uses: actions/checkout@v5
54
+
- uses: actions/setup-go@v6
55
55
with:
56
56
go-version: '^1.13.1'# The Go version to download (if necessary) and use.
57
57
- run: go version
58
58
```
59
59
60
60
```yaml
61
61
steps:
62
-
- uses: actions/checkout@v4
63
-
- uses: actions/setup-go@v5
62
+
- uses: actions/checkout@v5
63
+
- uses: actions/setup-go@v6
64
64
with:
65
65
go-version: '>=1.17.0'
66
66
- run: go version
@@ -78,17 +78,17 @@ Matching an unstable pre-release:
78
78
79
79
```yaml
80
80
steps:
81
-
- uses: actions/checkout@v4
82
-
- uses: actions/setup-go@v5
81
+
- uses: actions/checkout@v5
82
+
- uses: actions/setup-go@v6
83
83
with:
84
84
go-version: '1.18.0-rc.1' # The Go version to download (if necessary) and use.
85
85
- run: go version
86
86
```
87
87
88
88
```yaml
89
89
steps:
90
-
- uses: actions/checkout@v4
91
-
- uses: actions/setup-go@v5
90
+
- uses: actions/checkout@v5
91
+
- uses: actions/setup-go@v6
92
92
with:
93
93
go-version: '1.16.0-beta.1' # The Go version to download (if necessary) and use.
94
94
- run: go version
@@ -102,8 +102,8 @@ See [action.yml](action.yml)
102
102
103
103
```yaml
104
104
steps:
105
-
- uses: actions/checkout@v4
106
-
- uses: actions/setup-go@v5
105
+
- uses: actions/checkout@v5
106
+
- uses: actions/setup-go@v6
107
107
with:
108
108
go-version: '1.16.1' # The Go version to download (if necessary) and use.
109
109
- run: go run hello.go
@@ -123,8 +123,8 @@ want the most up-to-date Go version to always be used.
123
123
124
124
```yaml
125
125
steps:
126
-
- uses: actions/checkout@v4
127
-
- uses: actions/setup-go@v5
126
+
- uses: actions/checkout@v5
127
+
- uses: actions/setup-go@v6
128
128
with:
129
129
go-version: '1.14'
130
130
check-latest: true
@@ -144,17 +144,17 @@ set to `true`
144
144
145
145
```yaml
146
146
steps:
147
-
- uses: actions/checkout@v4
148
-
- uses: actions/setup-go@v5
147
+
- uses: actions/checkout@v5
148
+
- uses: actions/setup-go@v6
149
149
with:
150
150
go-version: 'stable'
151
151
- run: go run hello.go
152
152
```
153
153
154
154
```yaml
155
155
steps:
156
-
- uses: actions/checkout@v4
157
-
- uses: actions/setup-go@v5
156
+
- uses: actions/checkout@v5
157
+
- uses: actions/setup-go@v6
158
158
with:
159
159
go-version: 'oldstable'
160
160
- run: go run hello.go
@@ -176,8 +176,8 @@ If some problem that prevents success caching happens then the action issues the
176
176
177
177
```yaml
178
178
steps:
179
-
- uses: actions/checkout@v4
180
-
- uses: actions/setup-go@v5
179
+
- uses: actions/checkout@v5
180
+
- uses: actions/setup-go@v6
181
181
with:
182
182
go-version: '1.17'
183
183
check-latest: true
@@ -204,8 +204,8 @@ If both the `go-version` and the `go-version-file` inputs are provided then the
204
204
205
205
```yaml
206
206
steps:
207
-
- uses: actions/checkout@v4
208
-
- uses: actions/setup-go@v5
207
+
- uses: actions/checkout@v5
208
+
- uses: actions/setup-go@v6
209
209
with:
210
210
go-version-file: 'path/to/go.mod'
211
211
- run: go version
@@ -222,9 +222,9 @@ jobs:
222
222
go: [ '1.14', '1.13' ]
223
223
name: Go ${{ matrix.go }} sample
224
224
steps:
225
-
- uses: actions/checkout@v4
225
+
- uses: actions/checkout@v5
226
226
- name: Setup go
227
-
uses: actions/setup-go@v5
227
+
uses: actions/setup-go@v6
228
228
with:
229
229
go-version: ${{ matrix.go }}
230
230
- run: go run hello.go
@@ -252,7 +252,7 @@ If that fails as well the action will try to download versions directly from htt
252
252
If that fails as well you can get a higher rate limit with [generating a personal access token on github.com](https://github.com/settings/tokens/new) and passing it as the `token` input to the action:
0 commit comments