summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
authorMario Minardi <mario@tailscale.com>2025-03-09 13:35:01 -0600
committerMario Minardi <mario@tailscale.com>2025-03-09 13:40:17 -0600
commit98cdbc58aa900bdf72fce51f44d9f4d3f972bea9 (patch)
tree3ded8c5cae96a2f6886eaa474be3b174f75460d1 /.github/workflows/test.yml
parentb9f4c5d2466f0a1196ad99fb3620d7095d8311cd (diff)
downloadtailscale-mpminardi/test-cache-experiments.tar.xz
tailscale-mpminardi/test-cache-experiments.zip
Signed-off-by: Mario Minardi <mario@tailscale.com>
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b52a3af36..a909a232c 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -95,6 +95,10 @@ jobs:
restore-keys: |
${{ github.job }}-${{ runner.os }}-${{ matrix.goarch }}-${{ matrix.buildflags }}-go-2-${{ hashFiles('**/go.sum') }}
${{ github.job }}-${{ runner.os }}-${{ matrix.goarch }}-${{ matrix.buildflags }}-go-2-
+ - name: Update modtime
+ shell: bash
+ run: |
+ find "." -type f,d -print0 | xargs -0 touch -d '1970-01-01T00:00:01'
- name: build all
if: matrix.buildflags == '' # skip on race builder
run: ./tool/go build ${{matrix.buildflags}} ./...
@@ -279,6 +283,10 @@ jobs:
restore-keys: |
${{ github.job }}-${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-2-${{ hashFiles('**/go.sum') }}
${{ github.job }}-${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-2-
+ - name: Update modtime
+ shell: bash
+ run: |
+ find "." -type f,d -print0 | xargs -0 touch -d '1970-01-01T00:00:01'
- name: build all
run: ./tool/go build ./cmd/...
env: