Skip to content

Commit c6585dd

Browse files
authored
Updated go deps, use Go 1.21.3, golangci-lint 1.55 (#93)
1 parent aa228f0 commit c6585dd

File tree

6 files changed

+98
-73
lines changed

6 files changed

+98
-73
lines changed

.github/workflows/build-binary-package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Go
2828
uses: actions/setup-go@v4
2929
with:
30-
go-version: 1.20.7
30+
go-version: 1.21.3
3131

3232
- name: Build all platforms
3333
run: |

.github/workflows/lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Go
2626
uses: actions/setup-go@v4
2727
with:
28-
go-version: 1.20.7
28+
go-version: 1.21.3
2929

3030
- name: Initialize CodeQL
3131
uses: github/codeql-action/init@v2
@@ -39,7 +39,7 @@ jobs:
3939
- name: golangci-lint
4040
uses: golangci/golangci-lint-action@v3
4141
with:
42-
version: v1.54
42+
version: v1.55
4343
args: --issues-exit-code=1 --timeout 10m
4444
only-new-issues: false
4545
# the cache is already managed above, enabling it here

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Go
2525
uses: actions/setup-go@v4
2626
with:
27-
go-version: 1.20.7
27+
go-version: 1.21.3
2828

2929
- name: Build
3030
run: |

.github/workflows/tests_deb.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Go
2525
uses: actions/setup-go@v4
2626
with:
27-
go-version: 1.20.7
27+
go-version: 1.21.3
2828

2929
- name: Cache virtualenvs
3030
id: cache-pipenv

go.mod

+21-22
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,52 @@
11
module github.com/crowdsecurity/cs-custom-bouncer
22

3-
go 1.20
3+
go 1.21
44

55
require (
66
github.com/coreos/go-systemd/v22 v22.5.0
7-
github.com/crowdsecurity/crowdsec v1.5.4-final
8-
github.com/crowdsecurity/go-cs-bouncer v0.0.11
9-
github.com/crowdsecurity/go-cs-lib v0.0.4
10-
github.com/prometheus/client_golang v1.15.1
7+
github.com/crowdsecurity/crowdsec v1.5.5
8+
github.com/crowdsecurity/go-cs-bouncer v0.0.12
9+
github.com/crowdsecurity/go-cs-lib v0.0.5
10+
github.com/prometheus/client_golang v1.17.0
1111
github.com/sirupsen/logrus v1.9.3
12-
golang.org/x/sync v0.2.0
12+
golang.org/x/sync v0.4.0
1313
gopkg.in/natefinch/lumberjack.v2 v2.2.1
1414
gopkg.in/yaml.v2 v2.4.0
1515
)
1616

1717
require (
18-
github.com/antonmedv/expr v1.12.5 // indirect
18+
github.com/antonmedv/expr v1.15.3 // indirect
1919
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
2020
github.com/beorn7/perks v1.0.1 // indirect
2121
github.com/cespare/xxhash/v2 v2.2.0 // indirect
2222
github.com/fatih/color v1.15.0 // indirect
2323
github.com/go-openapi/analysis v0.21.4 // indirect
24-
github.com/go-openapi/errors v0.20.3 // indirect
25-
github.com/go-openapi/jsonpointer v0.19.6 // indirect
24+
github.com/go-openapi/errors v0.20.4 // indirect
25+
github.com/go-openapi/jsonpointer v0.20.0 // indirect
2626
github.com/go-openapi/jsonreference v0.20.2 // indirect
2727
github.com/go-openapi/loads v0.21.2 // indirect
2828
github.com/go-openapi/spec v0.20.9 // indirect
2929
github.com/go-openapi/strfmt v0.21.7 // indirect
30-
github.com/go-openapi/swag v0.22.3 // indirect
30+
github.com/go-openapi/swag v0.22.4 // indirect
3131
github.com/go-openapi/validate v0.22.1 // indirect
32-
github.com/goccy/go-yaml v1.11.0 // indirect
33-
github.com/golang/protobuf v1.5.3 // indirect
32+
github.com/goccy/go-yaml v1.11.2 // indirect
3433
github.com/google/go-querystring v1.1.0 // indirect
3534
github.com/josharian/intern v1.0.0 // indirect
3635
github.com/mailru/easyjson v0.7.7 // indirect
3736
github.com/mattn/go-colorable v0.1.13 // indirect
38-
github.com/mattn/go-isatty v0.0.19 // indirect
39-
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
37+
github.com/mattn/go-isatty v0.0.20 // indirect
38+
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
4039
github.com/mitchellh/mapstructure v1.5.0 // indirect
4140
github.com/oklog/ulid v1.3.1 // indirect
4241
github.com/pkg/errors v0.9.1 // indirect
43-
github.com/prometheus/client_model v0.4.0 // indirect
44-
github.com/prometheus/common v0.44.0 // indirect
45-
github.com/prometheus/procfs v0.10.0 // indirect
46-
go.mongodb.org/mongo-driver v1.11.6 // indirect
47-
golang.org/x/net v0.10.0 // indirect
48-
golang.org/x/sys v0.9.0 // indirect
49-
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
50-
google.golang.org/protobuf v1.30.0 // indirect
42+
github.com/prometheus/client_model v0.5.0 // indirect
43+
github.com/prometheus/common v0.45.0 // indirect
44+
github.com/prometheus/procfs v0.12.0 // indirect
45+
go.mongodb.org/mongo-driver v1.12.1 // indirect
46+
golang.org/x/net v0.17.0 // indirect
47+
golang.org/x/sys v0.13.0 // indirect
48+
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
49+
google.golang.org/protobuf v1.31.0 // indirect
5150
gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637 // indirect
5251
gopkg.in/yaml.v3 v3.0.1 // indirect
5352
)

0 commit comments

Comments
 (0)