Skip to content

Commit 84eb33f

Browse files
committed
linit and go version update
igned-off-by: Vibhuair20 <[email protected]> Signed-off-by: Vibhuair20 <[email protected]>
1 parent 8cd306b commit 84eb33f

File tree

4 files changed

+11
-34
lines changed

4 files changed

+11
-34
lines changed

.github/workflows/golangci-lint.yml

+3-30
Original file line numberDiff line numberDiff line change
@@ -25,34 +25,7 @@ jobs:
2525
go-version-file: "go.mod"
2626
cache: false
2727
- name: golangci-lint
28-
uses: golangci/golangci-lint-action@v6
28+
uses: golangci/golangci-lint-action@v7
2929
with:
30-
# Require: The version of golangci-lint to use.
31-
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
32-
# When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
33-
version: v1.60.1
34-
35-
# Optional: working directory, useful for monorepos
36-
# working-directory: somedir
37-
38-
# Optional: golangci-lint command line arguments.
39-
#
40-
# Note: By default, the `.golangci.yml` file should be at the root of the repository.
41-
# The location of the configuration file can be changed by using `--config=`
42-
args: --timeout=30m
43-
44-
# Optional: show only new issues if it's a pull request. The default value is `false`.
45-
# only-new-issues: true
46-
47-
# Optional: if set to true, then all caching functionality will be completely disabled,
48-
# takes precedence over all other caching options.
49-
# skip-cache: true
50-
51-
# Optional: if set to true, then the action won't cache or restore ~/go/pkg.
52-
# skip-pkg-cache: true
53-
54-
# Optional: if set to true, then the action won't cache or restore ~/.cache/go-build.
55-
# skip-build-cache: true
56-
57-
# Optional: The mode to install golangci-lint. It can be 'binary' or 'goinstall'.
58-
# install-mode: "goinstall"
30+
version: v2.0
31+
args : --timeout=30m

go.mod

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/hyperledger-labs/fabric-smart-client
22

3-
go 1.24.0
3+
go 1.23
4+
5+
toolchain go1.24.1
46

57
require (
68
github.com/IBM/idemix v0.0.2-0.20240816143710-3dce4618d760
@@ -75,7 +77,6 @@ require (
7577
github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78 // indirect
7678
github.com/envoyproxy/go-control-plane v0.13.1 // indirect
7779
github.com/envoyproxy/protoc-gen-validate v1.1.0 // indirect
78-
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
7980
github.com/google/go-cmp v0.6.0 // indirect
8081
github.com/libp2p/go-libp2p-routing-helpers v0.7.4 // indirect
8182
github.com/mitchellh/mapstructure v1.5.0 // indirect

platform/fabric/services/state/cc/query/go.mod

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module github.com/hyperledger-labs/fabric-smart-client/platform/fabric/services/state/cc/query
22

3-
go 1.24.0
3+
go 1.23.0
4+
45

56
require (
67
github.com/hyperledger/fabric-chaincode-go v0.0.0-20240704073638-9fb89180dc17

tools/go.mod

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
module tools
2-
go 1.24.0
2+
go 1.24.1
3+
4+
35

46
require (
57
github.com/client9/misspell v0.3.4

0 commit comments

Comments
 (0)