Skip to content

Commit 7c63a36

Browse files
committed
add gomods tidy back
1 parent c1c2a2b commit 7c63a36

File tree

3 files changed

+27
-7
lines changed

3 files changed

+27
-7
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
vm: ubuntu-latest
5151
regex: ./...
5252
steps:
53-
- uses: actions/checkout@v3
53+
- uses: actions/checkout@v4
5454
- name: Configure AWS credentials using OIDC
5555
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
5656
with:

.github/workflows/tidy.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Gomods Tidy
2+
on:
3+
push:
4+
jobs:
5+
clean-go-mods:
6+
name: Clean go mods
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Set up Go
11+
uses: actions/setup-go@v5
12+
with:
13+
# we run it across all the packages, use framework go.mod as an example
14+
go-version-file: ./framework/go.mod
15+
- uses: extractions/setup-just@v2
16+
with:
17+
github-token: ${{ secrets.GITHUB_TOKEN }}
18+
just-version: '1.39.0'
19+
- name: Run gomods tidy
20+
run: just gomods-tidy-ci

framework/examples/myproject/go.mod

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,15 @@ replace (
1111
require (
1212
github.com/block-vision/sui-go-sdk v1.0.6
1313
github.com/blocto/solana-go-sdk v1.30.0
14-
github.com/chaos-mesh/chaos-mesh/api v0.0.0-20240821051457-da69c6d9617a
1514
github.com/ethereum/go-ethereum v1.15.0
1615
github.com/go-resty/resty/v2 v2.16.3
17-
github.com/google/uuid v1.6.0
18-
github.com/rs/zerolog v1.33.0
1916
github.com/smartcontractkit/chainlink-testing-framework/framework v0.5.8
2017
github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.2
2118
github.com/smartcontractkit/chainlink-testing-framework/seth v1.50.10
2219
github.com/smartcontractkit/chainlink-testing-framework/wasp v1.50.2
2320
github.com/smartcontractkit/chainlink/v2 v2.20.0
2421
github.com/stretchr/testify v1.10.0
2522
github.com/testcontainers/testcontainers-go v0.35.0
26-
k8s.io/apimachinery v0.32.2
27-
k8s.io/utils v0.0.0-20241104163129-6fe5fd82f078
28-
sigs.k8s.io/controller-runtime v0.19.0
2923
)
3024

3125
require github.com/tjhop/slog-gokit v0.1.3 // indirect
@@ -75,6 +69,7 @@ require (
7569
github.com/c2h5oh/datasize v0.0.0-20231215233829-aa82cc1e6500 // indirect
7670
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
7771
github.com/cespare/xxhash/v2 v2.3.0 // indirect
72+
github.com/chaos-mesh/chaos-mesh/api v0.0.0-20240821051457-da69c6d9617a // indirect
7873
github.com/cloudwego/base64x v0.1.4 // indirect
7974
github.com/cloudwego/iasm v0.2.0 // indirect
8075
github.com/coder/websocket v1.8.12 // indirect
@@ -141,6 +136,7 @@ require (
141136
github.com/google/go-cmp v0.6.0 // indirect
142137
github.com/google/gofuzz v1.2.0 // indirect
143138
github.com/google/s2a-go v0.1.9 // indirect
139+
github.com/google/uuid v1.6.0 // indirect
144140
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
145141
github.com/googleapis/gax-go/v2 v2.14.1 // indirect
146142
github.com/gorilla/mux v1.8.1 // indirect
@@ -228,6 +224,7 @@ require (
228224
github.com/prometheus/sigv4 v0.1.1 // indirect
229225
github.com/redis/go-redis/v9 v9.7.0 // indirect
230226
github.com/robfig/cron/v3 v3.0.1 // indirect
227+
github.com/rs/zerolog v1.33.0 // indirect
231228
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 // indirect
232229
github.com/sercand/kuberesolver/v5 v5.1.1 // indirect
233230
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
@@ -303,10 +300,13 @@ require (
303300
gopkg.in/yaml.v3 v3.0.1 // indirect
304301
k8s.io/api v0.32.2 // indirect
305302
k8s.io/apiextensions-apiserver v0.31.0 // indirect
303+
k8s.io/apimachinery v0.32.2 // indirect
306304
k8s.io/client-go v0.32.2 // indirect
307305
k8s.io/klog/v2 v2.130.1 // indirect
308306
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f // indirect
307+
k8s.io/utils v0.0.0-20241104163129-6fe5fd82f078 // indirect
309308
rsc.io/tmplfunc v0.0.3 // indirect
309+
sigs.k8s.io/controller-runtime v0.19.0 // indirect
310310
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
311311
sigs.k8s.io/structured-merge-diff/v4 v4.4.2 // indirect
312312
sigs.k8s.io/yaml v1.4.0 // indirect

0 commit comments

Comments
 (0)