SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
ci: skip setup-go cache on self-hosted runners (#11985)
Chris Lu277c9809c86d
diff --git a/.github/workflows/container_foundationdb_version.yml b/.github/workflows/container_foundationdb_version.ymlindex 6903dcf2c0..b976a9b245 100644--- a/.github/workflows/container_foundationdb_version.yml+++ b/.github/workflows/container_foundationdb_version.yml@@ -68,6 +68,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: go.mod+ cache: ${{ runner.environment == 'github-hosted' }}- name: Run FoundationDB tagged testsenv:diff --git a/.github/workflows/deploy_telemetry.yml b/.github/workflows/deploy_telemetry.ymlindex e42cdea9ed..2f45c64176 100644--- a/.github/workflows/deploy_telemetry.yml+++ b/.github/workflows/deploy_telemetry.yml@@ -27,6 +27,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'telemetry/server/go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Build Telemetry Serverif: github.event_name == 'workflow_dispatch' && inputs.deploydiff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex ef5daf28bd..8ca45f0067 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -42,6 +42,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Configure Docker Hub mirrorrun: |diff --git a/.github/workflows/ec-integration-tests.yml b/.github/workflows/ec-integration-tests.ymlindex ec26d446eb..a1ddfa8e65 100644--- a/.github/workflows/ec-integration-tests.yml+++ b/.github/workflows/ec-integration-tests.yml@@ -34,6 +34,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:+ cache: ${{ runner.environment == 'github-hosted' }}go-version: ^1.26id: godiff --git a/.github/workflows/fuse-dlm-integration.yml b/.github/workflows/fuse-dlm-integration.ymlindex f4a7931d8b..869eae40ad 100644--- a/.github/workflows/fuse-dlm-integration.yml+++ b/.github/workflows/fuse-dlm-integration.yml@@ -39,6 +39,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Configure FUSErun: |diff --git a/.github/workflows/fuse-failover.yml b/.github/workflows/fuse-failover.ymlindex e73d588ba4..21646dbe17 100644--- a/.github/workflows/fuse-failover.yml+++ b/.github/workflows/fuse-failover.yml@@ -46,6 +46,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Configure FUSErun: |diff --git a/.github/workflows/fuse-integration.yml b/.github/workflows/fuse-integration.ymlindex 8482eb287d..f45e3ed0a1 100644--- a/.github/workflows/fuse-integration.yml+++ b/.github/workflows/fuse-integration.yml@@ -37,6 +37,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Configure FUSErun: |diff --git a/.github/workflows/fuse-p2p-integration.yml b/.github/workflows/fuse-p2p-integration.ymlindex 8cb5f2eca7..78df490b43 100644--- a/.github/workflows/fuse-p2p-integration.yml+++ b/.github/workflows/fuse-p2p-integration.yml@@ -45,6 +45,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Configure FUSErun: |diff --git a/.github/workflows/go.yml b/.github/workflows/go.ymlindex ffffaee697..0a06fbf6be 100644--- a/.github/workflows/go.yml+++ b/.github/workflows/go.yml@@ -35,6 +35,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Get dependenciesrun: |cd weed; go get -v -t -d ./...@@ -57,6 +58,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Go Vet linux/386 (type-checks code and tests for 32-bit int overflows)run: |GOOS=linux GOARCH=386 go vet ./... 2>&1 | grep -v "MessageState contains sync.Mutex" | grep -v "IdentityAccessManagement contains sync.RWMutex" | tee vet-32bit-output.txt@@ -72,6 +74,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Buildrun: cd weed; go build -tags "elastic gocdk sqlite ydb tarantool tikv rclone" -v .@@ -94,6 +97,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}# Nothing else on a PR compiles these, so per-OS syscall constants creep# back into shared files unnoticed and only a release build catches it.- name: Cross-compile@@ -128,6 +132,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Testenv:RUN_REDIS_TESTS: "1"@@ -143,6 +148,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}# 386 test binaries run natively on the amd64 runner. This catches what vet# can't: unaligned 64-bit atomics and arithmetic that wraps at runtime.# -short skips the e2e suites already covered on amd64.@@ -159,6 +165,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}# weed/kms/azure is excluded from every default build, so without this# nothing compiles it and tag-gated code silently rots.- name: Build and test with azurekmsdiff --git a/.github/workflows/java_integration_tests.yml b/.github/workflows/java_integration_tests.ymlindex 9dc3461c82..aa8a93c9e4 100644--- a/.github/workflows/java_integration_tests.yml+++ b/.github/workflows/java_integration_tests.yml@@ -35,6 +35,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Set up Javadiff --git a/.github/workflows/kafka-tests.yml b/.github/workflows/kafka-tests.ymlindex c0e15cee89..8fb5cb5a36 100644--- a/.github/workflows/kafka-tests.yml+++ b/.github/workflows/kafka-tests.yml@@ -53,6 +53,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:+ cache: ${{ runner.environment == 'github-hosted' }}go-version: ^1.26id: go@@ -98,6 +99,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:+ cache: ${{ runner.environment == 'github-hosted' }}go-version: ^1.26id: go@@ -805,6 +807,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:+ cache: ${{ runner.environment == 'github-hosted' }}go-version: ^1.26id: godiff --git a/.github/workflows/kms-tests.yml b/.github/workflows/kms-tests.ymlindex 6e020f0dea..6b77a896f1 100644--- a/.github/workflows/kms-tests.yml+++ b/.github/workflows/kms-tests.yml@@ -43,6 +43,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -88,6 +89,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFSdiff --git a/.github/workflows/master-cold-start-tests.yml b/.github/workflows/master-cold-start-tests.ymlindex bd983c7c84..bc96b833bf 100644--- a/.github/workflows/master-cold-start-tests.yml+++ b/.github/workflows/master-cold-start-tests.yml@@ -42,6 +42,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Build weed binaryrun: |diff --git a/.github/workflows/metadata-subscribe-tests.yml b/.github/workflows/metadata-subscribe-tests.ymlindex e674986b0d..b0bb96bc25 100644--- a/.github/workflows/metadata-subscribe-tests.yml+++ b/.github/workflows/metadata-subscribe-tests.yml@@ -48,6 +48,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Build SeaweedFSrun: |diff --git a/.github/workflows/mount-benchmark.yml b/.github/workflows/mount-benchmark.ymlindex 52c7dcb49d..206e082243 100644--- a/.github/workflows/mount-benchmark.yml+++ b/.github/workflows/mount-benchmark.yml@@ -32,6 +32,7 @@ jobs:- uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Install WinFsp and rclonerun: choco install winfsp rclone -y --no-progress@@ -150,6 +151,7 @@ jobs:- uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Repair the fusermount3 setuid bituses: ./.github/actions/fix-fusermount-setuiddiff --git a/.github/workflows/mount-windows-conformance.yml b/.github/workflows/mount-windows-conformance.ymlindex c9aab26a02..c58d063575 100644--- a/.github/workflows/mount-windows-conformance.yml+++ b/.github/workflows/mount-windows-conformance.yml@@ -49,6 +49,7 @@ jobs:- uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}# cgofuse loads winfsp-x64.dll at run time, so WinFsp is needed here but# not to build.diff --git a/.github/workflows/mount-windows.yml b/.github/workflows/mount-windows.ymlindex 18cac2773a..7954176ce7 100644--- a/.github/workflows/mount-windows.yml+++ b/.github/workflows/mount-windows.yml@@ -49,6 +49,7 @@ jobs:- uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}# cgofuse loads winfsp-x64.dll at run time, so WinFsp is needed here but# not to build.diff --git a/.github/workflows/multi-master-tests.yml b/.github/workflows/multi-master-tests.ymlindex b42d507f09..af282120b8 100644--- a/.github/workflows/multi-master-tests.yml+++ b/.github/workflows/multi-master-tests.yml@@ -40,6 +40,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Install SeaweedFSrun: |diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.ymlindex 8dd438382c..599c01770c 100644--- a/.github/workflows/performance.yml+++ b/.github/workflows/performance.yml@@ -67,6 +67,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Build weedrun: go build -o weed_bin ./weed@@ -175,6 +176,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Install Rust toolchainif: matrix.impl == 'rust'@@ -327,6 +329,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Install Rust toolchainif: matrix.impl == 'rust'diff --git a/.github/workflows/pjdfstest.yml b/.github/workflows/pjdfstest.ymlindex 80845380ca..878f787f4f 100644--- a/.github/workflows/pjdfstest.yml+++ b/.github/workflows/pjdfstest.yml@@ -38,6 +38,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Start local Docker registryrun: docker run -d --restart=always -p 5000:5000 --name registry registry:2diff --git a/.github/workflows/plugin-workers.yml b/.github/workflows/plugin-workers.ymlindex 94fb1fbf60..55d3f56478 100644--- a/.github/workflows/plugin-workers.yml+++ b/.github/workflows/plugin-workers.yml@@ -45,6 +45,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:+ cache: ${{ runner.environment == 'github-hosted' }}go-version: ^1.26id: godiff --git a/.github/workflows/postgres-tests.yml b/.github/workflows/postgres-tests.ymlindex d3eff2fe15..ed26b591b9 100644--- a/.github/workflows/postgres-tests.yml+++ b/.github/workflows/postgres-tests.yml@@ -41,6 +41,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:+ cache: ${{ runner.environment == 'github-hosted' }}go-version: ^1.26id: godiff --git a/.github/workflows/rust-volume-server-tests.yml b/.github/workflows/rust-volume-server-tests.ymlindex 7bcdbaf112..eb5db5c739 100644--- a/.github/workflows/rust-volume-server-tests.yml+++ b/.github/workflows/rust-volume-server-tests.yml@@ -221,6 +221,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Download test binariesuses: actions/download-artifact@v7@@ -285,6 +286,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Download test binariesuses: actions/download-artifact@v7diff --git a/.github/workflows/s3-etag-acl-tests.yml b/.github/workflows/s3-etag-acl-tests.ymlindex 13fb6cffb9..5f8754a372 100644--- a/.github/workflows/s3-etag-acl-tests.yml+++ b/.github/workflows/s3-etag-acl-tests.yml@@ -40,6 +40,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Install SeaweedFSrun: |diff --git a/.github/workflows/s3-example-integration-tests.yml b/.github/workflows/s3-example-integration-tests.ymlindex 1765b2f818..d0855c65ca 100644--- a/.github/workflows/s3-example-integration-tests.yml+++ b/.github/workflows/s3-example-integration-tests.yml@@ -33,6 +33,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Build SeaweedFSdiff --git a/.github/workflows/s3-filer-group-tests.yml b/.github/workflows/s3-filer-group-tests.ymlindex 2fcfc8e692..18f64fd78c 100644--- a/.github/workflows/s3-filer-group-tests.yml+++ b/.github/workflows/s3-filer-group-tests.yml@@ -36,6 +36,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFSdiff --git a/.github/workflows/s3-go-tests.yml b/.github/workflows/s3-go-tests.ymlindex 168d75efc3..6f5de41974 100644--- a/.github/workflows/s3-go-tests.yml+++ b/.github/workflows/s3-go-tests.yml@@ -39,6 +39,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -103,6 +104,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -151,6 +153,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -202,6 +205,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -293,6 +297,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -338,6 +343,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -396,6 +402,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -460,6 +467,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -509,6 +517,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -577,6 +586,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -632,6 +642,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFSdiff --git a/.github/workflows/s3-iam-tests.yml b/.github/workflows/s3-iam-tests.ymlindex 5bf89d7e70..ee12afd842 100644--- a/.github/workflows/s3-iam-tests.yml+++ b/.github/workflows/s3-iam-tests.yml@@ -45,6 +45,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Get dependencies@@ -94,6 +95,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -208,6 +210,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -268,6 +271,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFSdiff --git a/.github/workflows/s3-keycloak-tests.yml b/.github/workflows/s3-keycloak-tests.ymlindex a5a34d45f3..d893b1063b 100644--- a/.github/workflows/s3-keycloak-tests.yml+++ b/.github/workflows/s3-keycloak-tests.yml@@ -41,6 +41,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFSdiff --git a/.github/workflows/s3-mutation-regression-tests.yml b/.github/workflows/s3-mutation-regression-tests.ymlindex 0f30ef4edb..d352215176 100644--- a/.github/workflows/s3-mutation-regression-tests.yml+++ b/.github/workflows/s3-mutation-regression-tests.yml@@ -32,6 +32,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Run S3 versioning regression teststimeout-minutes: 20@@ -85,6 +86,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Run S3 delete regression teststimeout-minutes: 15@@ -123,6 +125,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Build SeaweedFSrun: |diff --git a/.github/workflows/s3-policy-tests.yml b/.github/workflows/s3-policy-tests.ymlindex 99c1949b18..caa9f9de6f 100644--- a/.github/workflows/s3-policy-tests.yml+++ b/.github/workflows/s3-policy-tests.yml@@ -49,6 +49,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Get dependencies@@ -92,6 +93,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -201,6 +203,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -319,6 +322,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -406,6 +410,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFSdiff --git a/.github/workflows/s3-proxy-signature-tests.yml b/.github/workflows/s3-proxy-signature-tests.ymlindex 40756e0982..ded2068737 100644--- a/.github/workflows/s3-proxy-signature-tests.yml+++ b/.github/workflows/s3-proxy-signature-tests.yml@@ -40,6 +40,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Configure Docker Hub mirrordiff --git a/.github/workflows/s3-sdk-v2-routing-tests.yml b/.github/workflows/s3-sdk-v2-routing-tests.ymlindex 477c5ef7fd..65aac2004a 100644--- a/.github/workflows/s3-sdk-v2-routing-tests.yml+++ b/.github/workflows/s3-sdk-v2-routing-tests.yml@@ -34,6 +34,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Install SeaweedFSrun: |diff --git a/.github/workflows/s3-snowflake-tests.yml b/.github/workflows/s3-snowflake-tests.ymlindex ec3ec6a32a..3993a112a0 100644--- a/.github/workflows/s3-snowflake-tests.yml+++ b/.github/workflows/s3-snowflake-tests.yml@@ -60,6 +60,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Set up Javadiff --git a/.github/workflows/s3-spark-tests.yml b/.github/workflows/s3-spark-tests.ymlindex b6e7580a8c..39ce8d9991 100644--- a/.github/workflows/s3-spark-tests.yml+++ b/.github/workflows/s3-spark-tests.yml@@ -31,6 +31,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Configure Docker Hub mirrordiff --git a/.github/workflows/s3-sse-tests.yml b/.github/workflows/s3-sse-tests.ymlindex 9dfe3f8758..4c44e42448 100644--- a/.github/workflows/s3-sse-tests.yml+++ b/.github/workflows/s3-sse-tests.yml@@ -50,6 +50,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -118,6 +119,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -166,6 +168,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -215,6 +218,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -264,6 +268,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -315,6 +320,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFS@@ -363,6 +369,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFSdiff --git a/.github/workflows/s3-tables-tests.yml b/.github/workflows/s3-tables-tests.ymlindex 275098d960..64aa3d7fbc 100644--- a/.github/workflows/s3-tables-tests.yml+++ b/.github/workflows/s3-tables-tests.yml@@ -34,6 +34,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Run go mod tidy@@ -94,6 +95,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Configure Docker Hub mirror@@ -155,6 +157,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Configure Docker Hub mirror@@ -225,6 +228,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Configure Docker Hub mirror@@ -298,6 +302,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Configure Docker Hub mirror@@ -381,6 +386,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Configure Docker Hub mirror@@ -468,6 +474,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Configure Docker Hub mirror@@ -567,6 +574,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Run go mod tidy@@ -635,6 +643,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Configure Docker Hub mirror@@ -705,6 +714,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Configure Docker Hub mirror@@ -776,6 +786,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Configure Docker Hub mirror@@ -870,6 +881,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Run go mod tidy@@ -930,6 +942,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Configure Docker Hub mirror@@ -1003,6 +1016,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Configure Docker Hub mirror@@ -1073,6 +1087,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Configure Docker Hub mirror@@ -1145,6 +1160,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Configure Docker Hub mirror@@ -1220,6 +1236,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Configure Docker Hub mirror@@ -1290,6 +1307,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Verify S3 Tables Package Builds@@ -1355,6 +1373,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Check Go Format@@ -1406,6 +1425,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Run Go Vetdiff --git a/.github/workflows/s3tests.yml b/.github/workflows/s3tests.ymlindex 353009c4ce..26f7a83553 100644--- a/.github/workflows/s3tests.yml+++ b/.github/workflows/s3tests.yml@@ -44,6 +44,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Set up Python@@ -396,6 +397,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Set up Python@@ -566,6 +568,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Set up Python@@ -691,6 +694,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Run SeaweedFS Custom S3 Copy tests@@ -793,6 +797,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Set up Pythondiff --git a/.github/workflows/samba-integration.yml b/.github/workflows/samba-integration.ymlindex 082ec5a6df..f37020090a 100644--- a/.github/workflows/samba-integration.yml+++ b/.github/workflows/samba-integration.yml@@ -40,6 +40,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Start local Docker registryrun: docker run -d --restart=always -p 5000:5000 --name registry registry:2diff --git a/.github/workflows/sftp-tests.yml b/.github/workflows/sftp-tests.ymlindex 9782d4e240..0930b06b92 100644--- a/.github/workflows/sftp-tests.yml+++ b/.github/workflows/sftp-tests.yml@@ -40,6 +40,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Install dependenciesrun: |diff --git a/.github/workflows/spark-integration-tests.yml b/.github/workflows/spark-integration-tests.ymlindex 20c2830e34..ee211a1fb4 100644--- a/.github/workflows/spark-integration-tests.yml+++ b/.github/workflows/spark-integration-tests.yml@@ -48,6 +48,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Build SeaweedFS binaryrun: |diff --git a/.github/workflows/telemetry-integration.yml b/.github/workflows/telemetry-integration.ymlindex 12f99a204f..b7aa690fb6 100644--- a/.github/workflows/telemetry-integration.yml+++ b/.github/workflows/telemetry-integration.yml@@ -34,6 +34,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Build telemetry serverrun: cd telemetry/server && go build -o telemetry-server .diff --git a/.github/workflows/terraform_ci.yml b/.github/workflows/terraform_ci.ymlindex 54ce78984d..b2bcca7500 100644--- a/.github/workflows/terraform_ci.yml+++ b/.github/workflows/terraform_ci.yml@@ -66,6 +66,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: go.mod+ cache: ${{ runner.environment == 'github-hosted' }}- name: Build weedrun: go build -o "$RUNNER_TEMP/weed" ./weeddiff --git a/.github/workflows/test-s3-over-https-using-awscli.yml b/.github/workflows/test-s3-over-https-using-awscli.ymlindex fff7b25143..8ccb35eeb7 100644--- a/.github/workflows/test-s3-over-https-using-awscli.yml+++ b/.github/workflows/test-s3-over-https-using-awscli.yml@@ -41,6 +41,7 @@ jobs:- uses: actions/setup-go@v7with:go-version: ^1.26+ cache: ${{ runner.environment == 'github-hosted' }}- name: Build SeaweedFSrun: |diff --git a/.github/workflows/tls-rotation-tests.yml b/.github/workflows/tls-rotation-tests.ymlindex b0af119c13..669ca4794e 100644--- a/.github/workflows/tls-rotation-tests.yml+++ b/.github/workflows/tls-rotation-tests.yml@@ -34,6 +34,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:+ cache: ${{ runner.environment == 'github-hosted' }}go-version: ^1.26id: godiff --git a/.github/workflows/tus-tests.yml b/.github/workflows/tus-tests.ymlindex eadec31a9e..699c36b0b5 100644--- a/.github/workflows/tus-tests.yml+++ b/.github/workflows/tus-tests.yml@@ -35,6 +35,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}id: go- name: Install SeaweedFSdiff --git a/.github/workflows/vacuum-integration-tests.yml b/.github/workflows/vacuum-integration-tests.ymlindex f5b6259a83..93eefec26e 100644--- a/.github/workflows/vacuum-integration-tests.yml+++ b/.github/workflows/vacuum-integration-tests.yml@@ -34,6 +34,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:+ cache: ${{ runner.environment == 'github-hosted' }}go-version: ^1.26id: godiff --git a/.github/workflows/volume-server-integration-tests.yml b/.github/workflows/volume-server-integration-tests.ymlindex a1f98648e6..fcaf1ce976 100644--- a/.github/workflows/volume-server-integration-tests.yml+++ b/.github/workflows/volume-server-integration-tests.yml@@ -46,6 +46,7 @@ jobs:uses: actions/setup-go@v7with:go-version-file: 'go.mod'+ cache: ${{ runner.environment == 'github-hosted' }}- name: Build SeaweedFS binaryrun: |