Skip to content

Commit f6dafca

Browse files
committed
fix(ci): std split
1 parent 5229067 commit f6dafca

File tree

6 files changed

+341
-46
lines changed

6 files changed

+341
-46
lines changed

.github/workflows/gno-fmt.yaml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Format
1+
name: Realms
22

33
on:
44
push:
@@ -32,19 +32,9 @@ jobs:
3232
go-version: ${{ env.GO_VERSION }}
3333
cache: true
3434

35-
- name: Checkout Gno repo
36-
uses: actions/checkout@v4
37-
with:
38-
repository: gnolang/gno
39-
ref: master
40-
path: gno-repo
41-
42-
- name: Build gno
43-
working-directory: gno-repo
44-
run: |
45-
make install
46-
echo "$GOBIN" >> $GITHUB_PATH
35+
- name: Ensure deps are downloaded
36+
run: go mod download
4737

4838
- name: Format
4939
working-directory: realms
50-
run: gno fmt -diff ./...
40+
run: go run github.com/gnolang/gno/gnovm/cmd/gno fmt -diff ./...

.github/workflows/gno-lint.yaml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: Lint
1+
name: Realms
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ main ]
66
paths:
77
- "realms/**"
88
- ".github/workflows/**"
@@ -31,19 +31,9 @@ jobs:
3131
go-version: ${{ env.GO_VERSION }}
3232
cache: true
3333

34-
- name: Checkout Gno repo
35-
uses: actions/checkout@v4
36-
with:
37-
repository: gnolang/gno
38-
ref: master
39-
path: gno-repo
40-
41-
- name: Build gno
42-
working-directory: gno-repo
43-
run: |
44-
make install
45-
echo "$GOBIN" >> $GITHUB_PATH
34+
- name: Ensure deps are downloaded
35+
run: go mod download
4636

4737
- name: Lint
4838
working-directory: realms
49-
run: gno lint ./... -v
39+
run: go run github.com/gnolang/gno/gnovm/cmd/gno lint ./... -v

.github/workflows/gno-test.yaml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test
1+
name: Realms
22

33
on:
44
push:
@@ -31,19 +31,9 @@ jobs:
3131
go-version: ${{ env.GO_VERSION }}
3232
cache: true
3333

34-
- name: Checkout Gno repo
35-
uses: actions/checkout@v4
36-
with:
37-
repository: gnolang/gno
38-
ref: master
39-
path: gno-repo
40-
41-
- name: Build gno
42-
working-directory: gno-repo
43-
run: |
44-
make install
45-
echo "$GOBIN" >> $GITHUB_PATH
34+
- name: Ensure deps are downloaded
35+
run: go mod download
4636

4737
- name: Test
4838
working-directory: realms
49-
run: gno test ./... -v
39+
run: go run github.com/gnolang/gno/gnovm/cmd/gno test ./... -v

go.mod

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
module community
2+
3+
go 1.23.0
4+
5+
toolchain go1.24.3
6+
7+
require github.com/gnolang/gno v0.0.0-20251009165425-85dc220ad6c3
8+
9+
require (
10+
github.com/bendory/conway-hebrew-calendar v0.0.0-20210829020739-dcc34210ce9b // indirect
11+
github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect
12+
github.com/btcsuite/btcd/btcutil v1.1.6 // indirect
13+
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
14+
github.com/cockroachdb/apd/v3 v3.2.1 // indirect
15+
github.com/cosmos/gogoproto v1.7.0 // indirect
16+
github.com/cosmos/ics23/go v0.11.0 // indirect
17+
github.com/davecgh/go-spew v1.1.1 // indirect
18+
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
19+
github.com/go-logr/logr v1.4.2 // indirect
20+
github.com/go-logr/stdr v1.2.2 // indirect
21+
github.com/gofrs/flock v0.12.1 // indirect
22+
github.com/google/go-cmp v0.6.0 // indirect
23+
github.com/google/uuid v1.6.0 // indirect
24+
github.com/gorilla/websocket v1.5.3 // indirect
25+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.25.1 // indirect
26+
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
27+
github.com/pelletier/go-toml v1.9.5 // indirect
28+
github.com/peterbourgon/ff/v3 v3.4.0 // indirect
29+
github.com/pmezard/go-difflib v1.0.0 // indirect
30+
github.com/rogpeppe/go-internal v1.14.1 // indirect
31+
github.com/rs/xid v1.6.0 // indirect
32+
github.com/sig-0/insertion-queue v0.0.0-20241004125609-6b3ca841346b // indirect
33+
github.com/stretchr/testify v1.10.0 // indirect
34+
github.com/valyala/bytebufferpool v1.0.0 // indirect
35+
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
36+
go.opentelemetry.io/otel v1.34.0 // indirect
37+
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.34.0 // indirect
38+
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.34.0 // indirect
39+
go.opentelemetry.io/otel/metric v1.34.0 // indirect
40+
go.opentelemetry.io/otel/sdk v1.34.0 // indirect
41+
go.opentelemetry.io/otel/sdk/metric v1.34.0 // indirect
42+
go.opentelemetry.io/otel/trace v1.34.0 // indirect
43+
go.opentelemetry.io/proto/otlp v1.5.0 // indirect
44+
go.uber.org/multierr v1.11.0 // indirect
45+
golang.org/x/crypto v0.40.0 // indirect
46+
golang.org/x/mod v0.26.0 // indirect
47+
golang.org/x/net v0.42.0 // indirect
48+
golang.org/x/sync v0.16.0 // indirect
49+
golang.org/x/sys v0.34.0 // indirect
50+
golang.org/x/term v0.33.0 // indirect
51+
golang.org/x/text v0.28.0 // indirect
52+
golang.org/x/tools v0.35.0 // indirect
53+
google.golang.org/genproto/googleapis/api v0.0.0-20250115164207-1a7da9e5054f // indirect
54+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250115164207-1a7da9e5054f // indirect
55+
google.golang.org/grpc v1.69.4 // indirect
56+
google.golang.org/protobuf v1.36.6 // indirect
57+
gopkg.in/yaml.v3 v3.0.1 // indirect
58+
)

0 commit comments

Comments
 (0)