You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/framework.yml
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,13 @@ on:
5
5
branches: ["main"]
6
6
paths:
7
7
- .github/workflows/framework.yml
8
+
- contract/**
8
9
- framework/**
9
10
pull_request:
10
11
branches: ["main"]
11
12
paths:
12
13
- .github/workflows/framework.yml
14
+
- contract/**
13
15
- framework/**
14
16
15
17
jobs:
@@ -28,6 +30,9 @@ jobs:
28
30
go-version-file: "framework/go.mod"
29
31
cache-dependency-path: "framework/go.sum"
30
32
33
+
- name: Link local modules
34
+
run: go mod edit -replace github.com/studiolambda/cosmos/contract=../contract -replace github.com/studiolambda/cosmos/problem=../problem -replace github.com/studiolambda/cosmos/router=../router
Copy file name to clipboardExpand all lines: AGENTS.md
+2-10Lines changed: 2 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,17 +31,9 @@ cd contract && go generate ./...
31
31
32
32
Always run tests from workspace root for proper module resolution. Each module has its own go.mod. Use full import paths: `github.com/studiolambda/cosmos/contract`
33
33
34
-
## Code Style
34
+
## Framework Patterns
35
35
36
-
- Standard Go formatting with gofmt
37
-
- Descriptive names, early returns, single-purpose functions
38
-
- Doc comments starting with name being documented
39
-
- Always check errors with errors.Is() and errors.As()
0 commit comments