Commit c5e2be5
authored
ci: block chainlink-deployments-framework imports via depguard (#771)
## Summary
Enables the `depguard` linter in golangci-lint and denies imports of
`github.com/smartcontractkit/chainlink-deployments-framework` (including
subpackages). This keeps mcms from depending on
chainlink-deployments-framework, which would introduce a circular
dependency.
## Why
mcms must not import chainlink-deployments-framework because that module
already depends on mcms, so adding the import would create a cycle in
the dependency graph.1 parent 2994f8b commit c5e2be5
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
43 | 53 | | |
44 | 54 | | |
45 | 55 | | |
| |||
0 commit comments