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.

faster

Chris Luf1bf60d2882a
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index b315155d58..b15556c1a6 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -15,24 +15,20 @@ permissions:
jobs:
- build:
- name: Build
+ vet:
+ name: Go Vet
runs-on: ubuntu-latest
steps:
-
- name: Set up Go 1.x
uses: actions/setup-go@a5f9b05d2d216f63e13859e0d847461041025775 # v2
with:
go-version: ^1.13
id: go
-
- name: Check out code into the Go module directory
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v2
-
- name: Get dependencies
run: |
cd weed; go get -v -t -d ./...
-
- name: Go Vet (excluding protobuf lock copying)
run: |
cd weed
@@ -42,8 +38,30 @@ jobs:
# Fail only if there are actual vet errors (not counting the filtered lock warnings)
if grep -q "vet:" vet-output.txt; then exit 1; fi
+ build:
+ name: Build
+ runs-on: ubuntu-latest
+ steps:
+ - name: Set up Go 1.x
+ uses: actions/setup-go@a5f9b05d2d216f63e13859e0d847461041025775 # v2
+ with:
+ go-version: ^1.13
+ id: go
+ - name: Check out code into the Go module directory
+ uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v2
- name: Build
run: cd weed; go build -tags "elastic gocdk sqlite ydb tarantool tikv rclone" -v .
+ test:
+ name: Test
+ runs-on: ubuntu-latest
+ steps:
+ - name: Set up Go 1.x
+ uses: actions/setup-go@a5f9b05d2d216f63e13859e0d847461041025775 # v2
+ with:
+ go-version: ^1.13
+ id: go
+ - name: Check out code into the Go module directory
+ uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v2
- name: Test
run: cd weed; go test -tags "elastic gocdk sqlite ydb tarantool tikv rclone" -v ./...