Skip to content

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.

ci: set up Go for CodeQL autobuild (#12007)

Chris Lu1e0f571e7596
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index edc2af3c98..79adf73c98 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -25,6 +25,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
+ - name: Set up Go
+ uses: actions/setup-go@v7
+ with:
+ go-version-file: 'go.mod'
+ cache: ${{ runner.environment == 'github-hosted' }}
+
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/[email protected]