Skip to content

Commit cde48ef

Browse files
authored
ci: lint and github workflow (#1849)
* fix:lint and github workflow * update issue labeler * minor changes to makefile and issue labeler * remove quotes from pr_labeler * update ethermint dependency
1 parent 3a4550c commit cde48ef

File tree

6 files changed

+82
-16
lines changed

6 files changed

+82
-16
lines changed

.github/issue_labeler.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
bug:
2+
- 'bug'
3+
- 'error'
4+
- 'issue'
5+
- 'crash'
6+
- 'panic'
7+
- 'fail'
8+
- 'broken'
9+
- 'not work'
10+
- 'exception'
11+
12+
enhancement:
13+
- 'feature'
14+
- 'enhancement'
15+
- 'improve'
16+
- 'add'
17+
- 'support'
18+
- 'request'
19+
- 'proposal'
20+
- 'rfc'
21+
22+
documentation:
23+
- 'docs'
24+
- 'documentation'
25+
- 'readme'
26+
- 'guide'
27+
- 'tutorial'
28+
- 'example'
29+
- 'spec'
30+
- 'specification'
31+
32+
cli:
33+
- 'cli'
34+
- 'command'
35+
- 'cronosd'
36+
- 'flag'
37+
- 'argument'
38+
- 'terminal'
39+
40+
cronos:
41+
- 'cronos'
42+
43+
e2ee:
44+
- 'encryption'
45+
- 'e2ee'
46+
47+
dependencies:
48+
- 'dependency'
49+
- 'dependencies'
50+
- 'go.mod'
51+
- 'cosmos-sdk'
52+
- 'tendermint'
53+
- 'cometbft'
54+
55+
build:
56+
- 'build'
57+
- 'compile'
58+
- 'makefile'
59+
- 'docker'
60+
61+
ci:
62+
- 'ci'
63+
- 'github actions'
64+
- 'workflow'

.github/pr_labeler.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
1-
"cli":
1+
cli:
22
- client/**/*
33
- x/*/client/**/*
4-
"nix":
4+
nix:
55
- nix/**
66
- default.nix
77
- docker.nix
88
- flake.nix
9-
"simulation":
9+
simulation:
1010
- types/simulation/**/*
1111
- x/simulation/**/*
1212
- x/*/simulation/**/*
1313
- simsx/**/*
1414
- tools/benchmark/**/*
15-
"cronos":
16-
- x/cronos/**/*
17-
"e2ee":
18-
- x/e2ee/**/*
19-
"adr":
15+
adr:
2016
- docs/architecture/**/*
21-
"build":
17+
build:
2218
- Makefile
2319
- Dockerfile
2420
- docker-compose.yml
2521
- scripts/*
26-
"ci":
22+
ci:
2723
- .github/**
2824
- buf.work.yaml
2925
- .golangci.yml
26+
27+
# modules
28+
cronos:
29+
- x/cronos/**/*
30+
e2ee:
31+
- x/e2ee/**/*

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ lint:
139139
golangci-lint run --output.text.path stdout --path-prefix=./
140140

141141
lint-fix:
142-
golangci-lint run --fix --output.text.path stdout --issues-exit-code=0
142+
golangci-lint run --fix --issues-exit-code=0 --path-prefix=./
143143

144144
lint-py:
145145
flake8 --show-source --count --statistics \

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ replace (
305305
// release/v1.15
306306
github.com/ethereum/go-ethereum => github.com/crypto-org-chain/go-ethereum v1.10.20-0.20250815065500-a4fbafcae0dd
307307
// develop
308-
github.com/evmos/ethermint => github.com/crypto-org-chain/ethermint v0.6.1-0.20250818090852-991f14f190f1
308+
github.com/evmos/ethermint => github.com/crypto-org-chain/ethermint v0.6.1-0.20250819081101-9a03795ec96b
309309
// Fix upstream GHSA-h395-qcrw-5vmq and GHSA-3vp4-m3rf-835h vulnerabilities.
310310
// TODO Remove it: https://github.com/cosmos/cosmos-sdk/issues/10409
311311
github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.9.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -910,8 +910,8 @@ github.com/crypto-org-chain/cosmos-sdk/store v0.0.0-20241217090828-cfbca9fe8254
910910
github.com/crypto-org-chain/cosmos-sdk/store v0.0.0-20241217090828-cfbca9fe8254/go.mod h1:8DwVTz83/2PSI366FERGbWSH7hL6sB7HbYp8bqksNwM=
911911
github.com/crypto-org-chain/cosmos-sdk/x/tx v0.0.0-20241217090828-cfbca9fe8254 h1:JzLOFRiKsDtLJt5h0M0jkEIPDKvFFyja7VEp7gG6O9U=
912912
github.com/crypto-org-chain/cosmos-sdk/x/tx v0.0.0-20241217090828-cfbca9fe8254/go.mod h1:V6DImnwJMTq5qFjeGWpXNiT/fjgE4HtmclRmTqRVM3w=
913-
github.com/crypto-org-chain/ethermint v0.6.1-0.20250818090852-991f14f190f1 h1:DSmzh/JMVZ5ayLYRGfbDywSCrUJcwyTcVRqzr36hgqg=
914-
github.com/crypto-org-chain/ethermint v0.6.1-0.20250818090852-991f14f190f1/go.mod h1:pilxRzYqGqlhVBDXcBYfDbFy6vkiqxwc8zHDPYXLnOQ=
913+
github.com/crypto-org-chain/ethermint v0.6.1-0.20250819081101-9a03795ec96b h1:Tm6Hm2id0PRMc8LNQduNY3bA6nvEz/qXoAyTpnEHCHA=
914+
github.com/crypto-org-chain/ethermint v0.6.1-0.20250819081101-9a03795ec96b/go.mod h1:pilxRzYqGqlhVBDXcBYfDbFy6vkiqxwc8zHDPYXLnOQ=
915915
github.com/crypto-org-chain/go-block-stm v0.0.0-20241213061541-7afe924fb4a6 h1:6KPEi8dWkDSBddQb4NAvEXmNnTXymF3yVeTaT4Hz1iU=
916916
github.com/crypto-org-chain/go-block-stm v0.0.0-20241213061541-7afe924fb4a6/go.mod h1:iwQTX9xMX8NV9k3o2BiWXA0SswpsZrDk5q3gA7nWYiE=
917917
github.com/crypto-org-chain/go-ethereum v1.10.20-0.20250815065500-a4fbafcae0dd h1:ebSnzvM9yKVGFjvoGly7LFQQCS2HuOWMCvQyByJ52Gs=

gomod2nix.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,8 @@ schema = 3
314314
version = "v0.2.2"
315315
hash = "sha256-0MLfSJKdeK3Z7tWAXTdzwB4091dmyxIX38S5SKH5QAw="
316316
[mod."github.com/evmos/ethermint"]
317-
version = "v0.6.1-0.20250818090852-991f14f190f1"
318-
hash = "sha256-M2wsoNCNl97CD0JvYq9PLaR4Z3YJSLH2im5j2sL2E4A="
317+
version = "v0.6.1-0.20250819081101-9a03795ec96b"
318+
hash = "sha256-AbomdzYu7acbuQooMZwqe8vh08Q2jBYtRAMaZF3Yg+4="
319319
replaced = "github.com/crypto-org-chain/ethermint"
320320
[mod."github.com/fatih/color"]
321321
version = "v1.17.0"

0 commit comments

Comments
 (0)