Skip to content

Commit 852ddd6

Browse files
authored
moved go.mod and go.sum under fabric-x to allow usage of semver tags with go install (#10)
Signed-off-by: pco <pasquale.convertini@ibm.com>
1 parent 6d19dda commit 852ddd6

6 files changed

Lines changed: 67 additions & 75 deletions

File tree

.github/workflows/build-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
password: ${{ secrets.DOCKERHUB_TOKEN }}
3333
- name: Extract version from tag
3434
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
35-
- name: Build and Push Multi-Platform Docker Image
35+
- name: Build and push the fabric-x-tools image
3636
uses: docker/build-push-action@v6
3737
with:
3838
context: ./tools

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Go
2323
uses: actions/setup-go@v5
2424
with:
25-
go-version-file: tools/go.mod
25+
go-version-file: go.mod
2626
- name: Install lint utilities
2727
run: |
2828
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Go
2323
uses: actions/setup-go@v5
2424
with:
25-
go-version-file: tools/go.mod
25+
go-version-file: go.mod
2626
- name: Install tests utilities
2727
run: |
2828
go install "github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest"

go.mod

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,67 @@
55

66
module github.com/hyperledger/fabric-x
77

8-
go 1.24.4
8+
go 1.24
9+
10+
toolchain go1.24.6
11+
12+
require (
13+
github.com/gorilla/handlers v1.5.1
14+
github.com/hyperledger/fabric-config v0.3.0
15+
github.com/hyperledger/fabric-lib-go v1.1.3-0.20240523144151-25edd1eaf5f5
16+
github.com/hyperledger/fabric-protos-go-apiv2 v0.3.3
17+
github.com/hyperledger/fabric-x-common v0.0.0-20250709124952-c15db56a3382
18+
github.com/pkg/errors v0.9.1
19+
github.com/stretchr/testify v1.9.0
20+
google.golang.org/grpc v1.72.0
21+
google.golang.org/protobuf v1.36.5
22+
gopkg.in/alecthomas/kingpin.v2 v2.2.6
23+
gopkg.in/yaml.v2 v2.4.0
24+
)
25+
26+
require (
27+
github.com/IBM/idemix v0.0.2-0.20240913182345-72941a5f41cd // indirect
28+
github.com/IBM/idemix/bccsp/schemes/aries v0.0.0-20240913182345-72941a5f41cd // indirect
29+
github.com/IBM/idemix/bccsp/schemes/weak-bb v0.0.0-20240913182345-72941a5f41cd // indirect
30+
github.com/IBM/idemix/bccsp/types v0.0.0-20240913182345-72941a5f41cd // indirect
31+
github.com/IBM/mathlib v0.0.3-0.20231011094432-44ee0eb539da // indirect
32+
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible // indirect
33+
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
34+
github.com/alecthomas/units v0.0.0-20240626203959-61d1e3462e30 // indirect
35+
github.com/bits-and-blooms/bitset v1.13.0 // indirect
36+
github.com/consensys/bavard v0.1.13 // indirect
37+
github.com/consensys/gnark-crypto v0.13.0 // indirect
38+
github.com/davecgh/go-spew v1.1.1 // indirect
39+
github.com/felixge/httpsnoop v1.0.1 // indirect
40+
github.com/fsnotify/fsnotify v1.7.0 // indirect
41+
github.com/go-viper/mapstructure/v2 v2.3.0 // indirect
42+
github.com/golang/protobuf v1.5.4 // indirect
43+
github.com/gorilla/mux v1.8.0 // indirect
44+
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
45+
github.com/hyperledger-labs/SmartBFT v0.0.0-20240916013553-852e5be5889b // indirect
46+
github.com/hyperledger/aries-bbs-go v0.0.0-20240528084656-761671ea73bc // indirect
47+
github.com/hyperledger/fabric-amcl v0.0.0-20230602173724-9e02669dceb2 // indirect
48+
github.com/kilic/bls12-381 v0.1.0 // indirect
49+
github.com/miekg/pkcs11 v1.1.1 // indirect
50+
github.com/mitchellh/mapstructure v1.5.0 // indirect
51+
github.com/mmcloughlin/addchain v0.4.0 // indirect
52+
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
53+
github.com/pmezard/go-difflib v1.0.0 // indirect
54+
github.com/sagikazarmark/locafero v0.6.0 // indirect
55+
github.com/sourcegraph/conc v0.3.0 // indirect
56+
github.com/spf13/afero v1.11.0 // indirect
57+
github.com/spf13/cast v1.7.0 // indirect
58+
github.com/spf13/pflag v1.0.5 // indirect
59+
github.com/spf13/viper v1.20.0-alpha.6 // indirect
60+
github.com/subosito/gotenv v1.6.0 // indirect
61+
github.com/sykesm/zap-logfmt v0.0.4 // indirect
62+
go.uber.org/multierr v1.11.0 // indirect
63+
go.uber.org/zap v1.27.0 // indirect
64+
golang.org/x/crypto v0.36.0 // indirect
65+
golang.org/x/net v0.38.0 // indirect
66+
golang.org/x/sys v0.31.0 // indirect
67+
golang.org/x/text v0.23.0 // indirect
68+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250218202821-56aae31c358a // indirect
69+
gopkg.in/yaml.v3 v3.0.1 // indirect
70+
rsc.io/tmplfunc v0.0.3 // indirect
71+
)
File renamed without changes.

tools/go.mod

Lines changed: 0 additions & 71 deletions
This file was deleted.

0 commit comments

Comments
 (0)