@@ -89,12 +89,12 @@ jobs:
89
89
~/.cache/go-build
90
90
~/go/pkg/mod/cache
91
91
~\AppData\Local\go-build
92
- # The -2 - here should be incremented when the scheme of data to be
92
+ # The -3 - here should be incremented when the scheme of data to be
93
93
# cached changes (e.g. path above changes).
94
- key : ${{ github.job }}-${{ runner.os }}-${{ matrix.goarch }}-${{ matrix.buildflags }}-go-2 -${{ hashFiles('**/go.sum') }}-${{ github.run_id }}
94
+ key : ${{ github.job }}-${{ runner.os }}-${{ matrix.goarch }}-${{ matrix.buildflags }}-go-3 -${{ hashFiles('**/go.sum') }}-${{ github.run_id }}
95
95
restore-keys : |
96
- ${{ github.job }}-${{ runner.os }}-${{ matrix.goarch }}-${{ matrix.buildflags }}-go-2 -${{ hashFiles('**/go.sum') }}
97
- ${{ github.job }}-${{ runner.os }}-${{ matrix.goarch }}-${{ matrix.buildflags }}-go-2 -
96
+ ${{ github.job }}-${{ runner.os }}-${{ matrix.goarch }}-${{ matrix.buildflags }}-go-3 -${{ hashFiles('**/go.sum') }}
97
+ ${{ github.job }}-${{ runner.os }}-${{ matrix.goarch }}-${{ matrix.buildflags }}-go-3 -
98
98
- name : build all
99
99
if : matrix.buildflags == '' # skip on race builder
100
100
run : ./tool/go build ${{matrix.buildflags}} ./...
@@ -163,12 +163,12 @@ jobs:
163
163
~/.cache/go-build
164
164
~/go/pkg/mod/cache
165
165
~\AppData\Local\go-build
166
- # The -2 - here should be incremented when the scheme of data to be
166
+ # The -3 - here should be incremented when the scheme of data to be
167
167
# cached changes (e.g. path above changes).
168
- key : ${{ github.job }}-${{ runner.os }}-go-2 -${{ hashFiles('**/go.sum') }}-${{ github.run_id }}
168
+ key : ${{ github.job }}-${{ runner.os }}-go-3 -${{ hashFiles('**/go.sum') }}-${{ github.run_id }}
169
169
restore-keys : |
170
- ${{ github.job }}-${{ runner.os }}-go-2 -${{ hashFiles('**/go.sum') }}
171
- ${{ github.job }}-${{ runner.os }}-go-2 -
170
+ ${{ github.job }}-${{ runner.os }}-go-3 -${{ hashFiles('**/go.sum') }}
171
+ ${{ github.job }}-${{ runner.os }}-go-3 -
172
172
- name : test
173
173
run : go run ./cmd/testwrapper ./...
174
174
- name : bench all
@@ -264,12 +264,12 @@ jobs:
264
264
~/.cache/go-build
265
265
~/go/pkg/mod/cache
266
266
~\AppData\Local\go-build
267
- # The -2 - here should be incremented when the scheme of data to be
267
+ # The -3 - here should be incremented when the scheme of data to be
268
268
# cached changes (e.g. path above changes).
269
- key : ${{ github.job }}-${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-2 -${{ hashFiles('**/go.sum') }}-${{ github.run_id }}
269
+ key : ${{ github.job }}-${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-3 -${{ hashFiles('**/go.sum') }}-${{ github.run_id }}
270
270
restore-keys : |
271
- ${{ github.job }}-${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-2 -${{ hashFiles('**/go.sum') }}
272
- ${{ github.job }}-${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-2 -
271
+ ${{ github.job }}-${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-3 -${{ hashFiles('**/go.sum') }}
272
+ ${{ github.job }}-${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-3 -
273
273
- name : build all
274
274
run : ./tool/go build ./cmd/...
275
275
env :
@@ -329,12 +329,12 @@ jobs:
329
329
~/.cache/go-build
330
330
~/go/pkg/mod/cache
331
331
~\AppData\Local\go-build
332
- # The -2 - here should be incremented when the scheme of data to be
332
+ # The -3 - here should be incremented when the scheme of data to be
333
333
# cached changes (e.g. path above changes).
334
- key : ${{ github.job }}-${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-2 -${{ hashFiles('**/go.sum') }}-${{ github.run_id }}
334
+ key : ${{ github.job }}-${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-3 -${{ hashFiles('**/go.sum') }}-${{ github.run_id }}
335
335
restore-keys : |
336
- ${{ github.job }}-${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-2 -${{ hashFiles('**/go.sum') }}
337
- ${{ github.job }}-${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-2 -
336
+ ${{ github.job }}-${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-3 -${{ hashFiles('**/go.sum') }}
337
+ ${{ github.job }}-${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-3 -
338
338
- name : build core
339
339
run : ./tool/go build ./cmd/tailscale ./cmd/tailscaled
340
340
env :
@@ -377,12 +377,12 @@ jobs:
377
377
~/.cache/go-build
378
378
~/go/pkg/mod/cache
379
379
~\AppData\Local\go-build
380
- # The -2 - here should be incremented when the scheme of data to be
380
+ # The -3 - here should be incremented when the scheme of data to be
381
381
# cached changes (e.g. path above changes).
382
- key : ${{ github.job }}-${{ runner.os }}-go-2 -${{ hashFiles('**/go.sum') }}-${{ github.run_id }}
382
+ key : ${{ github.job }}-${{ runner.os }}-go-3 -${{ hashFiles('**/go.sum') }}-${{ github.run_id }}
383
383
restore-keys : |
384
- ${{ github.job }}-${{ runner.os }}-go-2 -${{ hashFiles('**/go.sum') }}
385
- ${{ github.job }}-${{ runner.os }}-go-2 -
384
+ ${{ github.job }}-${{ runner.os }}-go-3 -${{ hashFiles('**/go.sum') }}
385
+ ${{ github.job }}-${{ runner.os }}-go-3 -
386
386
- name : build tsconnect client
387
387
run : ./tool/go build ./cmd/tsconnect/wasm ./cmd/tailscale/cli
388
388
env :
0 commit comments