File tree Expand file tree Collapse file tree 4 files changed +14
-16
lines changed
Expand file tree Collapse file tree 4 files changed +14
-16
lines changed Original file line number Diff line number Diff line change 22name : Lint and Build
33on :
44 push :
5+ tags-ignore :
6+ - ' *'
57 branches :
6- - ' main'
7- - ' feature/**'
8- - ' bugfix/**'
9- - ' releases/**'
10-
8+ - ' *'
119 pull_request :
1210 branches : ['main']
1311
2422 - name : Run golangci-lint
2523 uses : reviewdog/action-golangci-lint@v2
2624 with :
27- go_version : " 1.22 "
25+ go_version : " 1.24.3 "
2826
2927 - name : Run hadolint
3028 uses : reviewdog/action-hadolint@v1
4139 - name : Setup Go
4240 uses : actions/setup-go@v3
4341 with :
44- go-version : ' 1.22.x '
42+ go-version : ' 1.24.3 '
4543
4644 - name : Install dependencies
4745 run : go get .
Original file line number Diff line number Diff line change 1- FROM golang:1.22 -alpine AS builder
1+ FROM golang:1.24 -alpine AS builder
22COPY . /build
33WORKDIR /build
44RUN apk add --no-cache build-base libpcap-dev && \
@@ -8,7 +8,7 @@ RUN apk add --no-cache build-base libpcap-dev && \
88 # we need to enable CGO as we need to compile with libpcap bindings
99 GO111MODULE=on CGO_ENABLED=1 GOOS=linux go build -v -o /packet-capture .
1010
11- FROM alpine:3.18
11+ FROM alpine:3.21
1212
1313COPY --from=builder /packet-capture /usr/bin/packet-capture
1414
Original file line number Diff line number Diff line change 11module github.com/controlplaneio/netassertv2-packet-sniffer
22
3- go 1.22
3+ go 1.24.3
44
55require (
6- github.com/ardanlabs/conf/v3 v3.1.8
6+ github.com/ardanlabs/conf/v3 v3.7.2
77 github.com/google/gopacket v1.1.19
88 github.com/stretchr/testify v1.9.0
99 go.uber.org/zap v1.27.0
@@ -17,7 +17,7 @@ require (
1717 github.com/rogpeppe/go-internal v1.8.1 // indirect
1818 go.uber.org/multierr v1.11.0 // indirect
1919 golang.org/x/net v0.23.0 // indirect
20- golang.org/x/sys v0.24 .0 // indirect
20+ golang.org/x/sys v0.33 .0 // indirect
2121 gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
2222 gopkg.in/yaml.v3 v3.0.1 // indirect
2323)
Original file line number Diff line number Diff line change 1- github.com/ardanlabs/conf/v3 v3.1.8 h1:r0KUV9/Hni5XdeWR2+A1BiedIDnry5CjezoqgJ0rnFQ =
2- github.com/ardanlabs/conf/v3 v3.1.8 /go.mod h1:OIi6NK95fj8jKFPdZ/UmcPlY37JBg99hdP9o5XmNK9c =
1+ github.com/ardanlabs/conf/v3 v3.7.2 h1:s2VBuDJM6OQfR0erDuopiZ+dHUQVqGxZeLrTsls03dw =
2+ github.com/ardanlabs/conf/v3 v3.7.2 /go.mod h1:XlL9P0quWP4m1weOVFmlezabinbZLI05niDof/+Ochk =
33github.com/creack/pty v1.1.9 /go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E =
44github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
55github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
@@ -40,8 +40,8 @@ golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
4040golang.org/x/sync v0.0.0-20190423024810-112230192c58 /go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM =
4141golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a /go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY =
4242golang.org/x/sys v0.0.0-20190412213103-97732733099d /go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs =
43- golang.org/x/sys v0.24 .0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg =
44- golang.org/x/sys v0.24 .0 /go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA =
43+ golang.org/x/sys v0.33 .0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw =
44+ golang.org/x/sys v0.33 .0 /go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k =
4545golang.org/x/text v0.3.0 /go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ =
4646golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7 /go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28 =
4747golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898 /go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0 =
You can’t perform that action at this time.
0 commit comments