File tree Expand file tree Collapse file tree 4 files changed +40
-2
lines changed Expand file tree Collapse file tree 4 files changed +40
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,26 @@ concurrency:
12
12
cancel-in-progress : true
13
13
14
14
jobs :
15
+ validate-modules :
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+ - name : Validate Required Modules
20
+ run : |
21
+ # Find all module directories: rueidis* (except rueidislock), om, and mock
22
+ # These directories should contain go.mod files
23
+ modules=$(find . -maxdepth 1 -type d \( -name "rueidis*" -o -name "om" -o -name "mock" \) | grep -v "./rueidislock")
24
+
25
+ # Check each module directory
26
+ for module in $modules; do
27
+ if [ ! -f "$module/go.mod" ]; then
28
+ echo "Error: Module directory '$module' is missing go.mod"
29
+ exit 1
30
+ fi
31
+ done
32
+
15
33
prepare-matrix :
34
+ needs : validate-modules
16
35
runs-on : ubuntu-latest
17
36
outputs :
18
37
matrix : ${{ steps.set-matrix.outputs.matrix }}
Original file line number Diff line number Diff line change
1
+ module github.com/redis/rueidis/rueidisaside
2
+
3
+ go 1.22.0
4
+
5
+ replace github.com/redis/rueidis => ../
6
+
7
+ require github.com/redis/rueidis v1.0.55
8
+
9
+ require golang.org/x/sys v0.30.0 // indirect
Original file line number Diff line number Diff line change
1
+ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8 =
2
+ github.com/google/go-cmp v0.7.0 /go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU =
3
+ github.com/onsi/gomega v1.36.2 h1:koNYke6TVk6ZmnyHrCXba/T/MoLBXFjeC1PtvYgw0A8 =
4
+ github.com/onsi/gomega v1.36.2 /go.mod h1:DdwyADRjrc825LhMEkD76cHR5+pUnjhUN8GlHlRPHzY =
5
+ golang.org/x/net v0.35.0 h1:T5GQRQb2y08kTAByq9L4/bz8cipCdA8FbRTXewonqY8 =
6
+ golang.org/x/net v0.35.0 /go.mod h1:EglIi67kWsHKlRzzVMUD93VMSWGFOMSZgxFjparz1Qk =
7
+ golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc =
8
+ golang.org/x/sys v0.30.0 /go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA =
9
+ golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM =
10
+ golang.org/x/text v0.22.0 /go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY =
11
+ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA =
12
+ gopkg.in/yaml.v3 v3.0.1 /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ module github.com/redis/rueidis/rueidislimiter
2
2
3
3
go 1.22.0
4
4
5
- toolchain go1.24.1
6
-
7
5
replace github.com/redis/rueidis => ../
8
6
9
7
replace github.com/redis/rueidis/mock => ../mock
You can’t perform that action at this time.
0 commit comments