Skip to content

Commit c5fc913

Browse files
ci: Update go.mod dependencies and add Dagger for code quality checks
1 parent e46f37e commit c5fc913

File tree

9 files changed

+252
-211
lines changed

9 files changed

+252
-211
lines changed

.github/workflows/code-quality.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,16 @@ jobs:
3737
with:
3838
go-version: stable
3939

40-
- name: Download dependencies & run code quality
40+
- name: Download dependencies
4141
run: |
4242
go mod download
43-
go get dagger.io/dagger@latest
44-
go run -v .
4543
working-directory: cc
44+
45+
- name: Run Dagger
46+
uses: dagger/dagger-for-github@v5
47+
with:
48+
args: go run -v .
49+
dagger-flags: --debug
50+
verb: run
51+
version: latest
52+
workdir: cc

cc/go.mod

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ require (
1010
)
1111

1212
require (
13-
github.com/99designs/gqlgen v0.17.45 // indirect
13+
github.com/99designs/gqlgen v0.17.49 // indirect
1414
github.com/Khan/genqlient v0.7.0 // indirect
1515
github.com/adrg/xdg v0.4.0 // indirect
1616
github.com/davecgh/go-spew v1.1.1 // indirect
1717
github.com/google/uuid v1.6.0 // indirect
1818
github.com/kr/text v0.2.0 // indirect
1919
github.com/mitchellh/go-homedir v1.1.0 // indirect
2020
github.com/pmezard/go-difflib v1.0.0 // indirect
21-
github.com/sosodev/duration v1.2.0 // indirect
22-
github.com/vektah/gqlparser/v2 v2.5.11 // indirect
23-
golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 // indirect
24-
golang.org/x/sync v0.6.0 // indirect
25-
golang.org/x/sys v0.18.0 // indirect
21+
github.com/sosodev/duration v1.3.1 // indirect
22+
github.com/vektah/gqlparser/v2 v2.5.16 // indirect
23+
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 // indirect
24+
golang.org/x/sync v0.7.0 // indirect
25+
golang.org/x/sys v0.21.0 // indirect
2626
gopkg.in/yaml.v3 v3.0.1 // indirect
2727
)

cc/go.sum

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dagger.io/dagger v0.10.2 h1:8q4AwKm48qAWZdY7O2NMZ3FveteDHJeM3WwmcNKZOM0=
22
dagger.io/dagger v0.10.2/go.mod h1:AonAYX6ZXNGsVvro4HhB/Uzsp9FU+aI41YfAEY9f5mI=
3-
github.com/99designs/gqlgen v0.17.45 h1:bH0AH67vIJo8JKNKPJP+pOPpQhZeuVRQLf53dKIpDik=
4-
github.com/99designs/gqlgen v0.17.45/go.mod h1:Bas0XQ+Jiu/Xm5E33jC8sES3G+iC2esHBMXcq0fUPs0=
3+
github.com/99designs/gqlgen v0.17.49 h1:b3hNGexHd33fBSAd4NDT/c3NCcQzcAVkknhN9ym36YQ=
4+
github.com/99designs/gqlgen v0.17.49/go.mod h1:tC8YFVZMed81x7UJ7ORUwXF4Kn6SXuucFqQBhN8+BU0=
55
github.com/Khan/genqlient v0.7.0 h1:GZ1meyRnzcDTK48EjqB8t3bcfYvHArCUUvgOwpz1D4w=
66
github.com/Khan/genqlient v0.7.0/go.mod h1:HNyy3wZvuYwmW3Y7mkoQLZsa/R5n5yIRajS1kPBvSFM=
77
github.com/adrg/xdg v0.4.0 h1:RzRqFcjH4nE5C6oTAxhBtoE2IRyjBSa62SCbyPidvls=
@@ -26,21 +26,21 @@ github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDN
2626
github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
2727
github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8=
2828
github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I=
29-
github.com/sosodev/duration v1.2.0 h1:pqK/FLSjsAADWY74SyWDCjOcd5l7H8GSnnOGEB9A1Us=
30-
github.com/sosodev/duration v1.2.0/go.mod h1:RQIBBX0+fMLc/D9+Jb/fwvVmo0eZvDDEERAikUR6SDg=
29+
github.com/sosodev/duration v1.3.1 h1:qtHBDMQ6lvMQsL15g4aopM4HEfOaYuhWBw3NPTtlqq4=
30+
github.com/sosodev/duration v1.3.1/go.mod h1:RQIBBX0+fMLc/D9+Jb/fwvVmo0eZvDDEERAikUR6SDg=
3131
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
3232
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
3333
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
3434
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
35-
github.com/vektah/gqlparser/v2 v2.5.11 h1:JJxLtXIoN7+3x6MBdtIP59TP1RANnY7pXOaDnADQSf8=
36-
github.com/vektah/gqlparser/v2 v2.5.11/go.mod h1:1rCcfwB2ekJofmluGWXMSEnPMZgbxzwj6FaZ/4OT8Cc=
37-
golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 h1:6R2FC06FonbXQ8pK11/PDFY6N6LWlf9KlzibaCapmqc=
38-
golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81/go.mod h1:CQ1k9gNrJ50XIzaKCRR2hssIjF07kZFEiieALBM/ARQ=
39-
golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ=
40-
golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
35+
github.com/vektah/gqlparser/v2 v2.5.16 h1:1gcmLTvs3JLKXckwCwlUagVn/IlV2bwqle0vJ0vy5p8=
36+
github.com/vektah/gqlparser/v2 v2.5.16/go.mod h1:1lz1OeCqgQbQepsGxPVywrjdBHW2T08PUS3pJqepRww=
37+
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 h1:yixxcjnhBmY0nkL253HFVIm0JsFHwrHdT3Yh6szTnfY=
38+
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8/go.mod h1:jj3sYF3dwk5D+ghuXyeI3r5MFf+NT2An6/9dOA95KSI=
39+
golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
40+
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
4141
golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
42-
golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
43-
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
42+
golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
43+
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
4444
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
4545
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
4646
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=

iac/lcs/go.mod

Lines changed: 33 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
module lcs
22

3-
go 1.20
3+
go 1.21
4+
5+
toolchain go1.22.3
46

57
require (
6-
github.com/pulumi/pulumi/sdk/v3 v3.111.1
7-
github.com/stretchr/testify v1.8.4
8+
github.com/pulumi/pulumi/sdk/v3 v3.120.0
9+
github.com/stretchr/testify v1.9.0
810
)
911

1012
require (
1113
dario.cat/mergo v1.0.0 // indirect
12-
github.com/Microsoft/go-winio v0.6.1 // indirect
14+
github.com/Microsoft/go-winio v0.6.2 // indirect
1315
github.com/ProtonMail/go-crypto v1.0.0 // indirect
1416
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect
1517
github.com/agext/levenshtein v1.2.3 // indirect
@@ -18,28 +20,31 @@ require (
1820
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
1921
github.com/blang/semver v3.5.1+incompatible // indirect
2022
github.com/charmbracelet/bubbles v0.18.0 // indirect
21-
github.com/charmbracelet/bubbletea v0.25.0 // indirect
22-
github.com/charmbracelet/lipgloss v0.10.0 // indirect
23+
github.com/charmbracelet/bubbletea v0.26.4 // indirect
24+
github.com/charmbracelet/lipgloss v0.11.0 // indirect
25+
github.com/charmbracelet/x/ansi v0.1.2 // indirect
26+
github.com/charmbracelet/x/input v0.1.2 // indirect
27+
github.com/charmbracelet/x/term v0.1.1 // indirect
28+
github.com/charmbracelet/x/windows v0.1.2 // indirect
2329
github.com/cheggaaa/pb v1.0.29 // indirect
24-
github.com/cloudflare/circl v1.3.7 // indirect
25-
github.com/containerd/console v1.0.4 // indirect
26-
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
30+
github.com/cloudflare/circl v1.3.9 // indirect
31+
github.com/cyphar/filepath-securejoin v0.2.5 // indirect
2732
github.com/davecgh/go-spew v1.1.1 // indirect
2833
github.com/djherbis/times v1.6.0 // indirect
2934
github.com/emirpasic/gods v1.18.1 // indirect
35+
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
3036
github.com/fsnotify/fsnotify v1.7.0 // indirect
3137
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
3238
github.com/go-git/go-billy/v5 v5.5.0 // indirect
33-
github.com/go-git/go-git/v5 v5.11.0 // indirect
39+
github.com/go-git/go-git/v5 v5.12.0 // indirect
3440
github.com/gogo/protobuf v1.3.2 // indirect
35-
github.com/golang/glog v1.2.0 // indirect
41+
github.com/golang/glog v1.2.1 // indirect
3642
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
37-
github.com/golang/protobuf v1.5.4 // indirect
3843
github.com/google/uuid v1.6.0 // indirect
3944
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect
4045
github.com/hashicorp/errwrap v1.1.0 // indirect
4146
github.com/hashicorp/go-multierror v1.1.1 // indirect
42-
github.com/hashicorp/hcl/v2 v2.20.0 // indirect
47+
github.com/hashicorp/hcl/v2 v2.20.1 // indirect
4348
github.com/inconshreveable/mousetrap v1.1.0 // indirect
4449
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
4550
github.com/kevinburke/ssh_config v1.2.0 // indirect
@@ -51,7 +56,6 @@ require (
5156
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
5257
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
5358
github.com/muesli/cancelreader v0.2.2 // indirect
54-
github.com/muesli/reflow v0.3.0 // indirect
5559
github.com/muesli/termenv v0.15.2 // indirect
5660
github.com/nxadm/tail v1.4.11 // indirect
5761
github.com/opentracing/basictracer-go v1.1.0 // indirect
@@ -62,12 +66,12 @@ require (
6266
github.com/pkg/term v1.1.0 // indirect
6367
github.com/pmezard/go-difflib v1.0.0 // indirect
6468
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect
65-
github.com/pulumi/esc v0.8.3 // indirect
69+
github.com/pulumi/esc v0.9.1 // indirect
6670
github.com/rivo/uniseg v0.4.7 // indirect
6771
github.com/rogpeppe/go-internal v1.12.0 // indirect
6872
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect
6973
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
70-
github.com/sergi/go-diff v1.3.1 // indirect
74+
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
7175
github.com/skeema/knownhosts v1.2.2 // indirect
7276
github.com/spf13/cobra v1.8.0 // indirect
7377
github.com/spf13/pflag v1.0.5 // indirect
@@ -76,20 +80,21 @@ require (
7680
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
7781
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
7882
github.com/xanzy/ssh-agent v0.3.3 // indirect
83+
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
7984
github.com/zclconf/go-cty v1.14.4 // indirect
8085
go.uber.org/atomic v1.11.0 // indirect
81-
golang.org/x/crypto v0.21.0 // indirect
82-
golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 // indirect
83-
golang.org/x/mod v0.16.0 // indirect
84-
golang.org/x/net v0.22.0 // indirect
85-
golang.org/x/sync v0.6.0 // indirect
86-
golang.org/x/sys v0.18.0 // indirect
87-
golang.org/x/term v0.18.0 // indirect
88-
golang.org/x/text v0.14.0 // indirect
89-
golang.org/x/tools v0.19.0 // indirect
90-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
91-
google.golang.org/grpc v1.62.1 // indirect
92-
google.golang.org/protobuf v1.33.0 // indirect
86+
golang.org/x/crypto v0.24.0 // indirect
87+
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 // indirect
88+
golang.org/x/mod v0.18.0 // indirect
89+
golang.org/x/net v0.26.0 // indirect
90+
golang.org/x/sync v0.7.0 // indirect
91+
golang.org/x/sys v0.21.0 // indirect
92+
golang.org/x/term v0.21.0 // indirect
93+
golang.org/x/text v0.16.0 // indirect
94+
golang.org/x/tools v0.22.0 // indirect
95+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240610135401-a8a62080eff3 // indirect
96+
google.golang.org/grpc v1.64.0 // indirect
97+
google.golang.org/protobuf v1.34.2 // indirect
9398
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
9499
gopkg.in/warnings.v0 v0.1.2 // indirect
95100
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)