Skip to content

Commit 958ea59

Browse files
authored
Merge pull request #220 from radiofrance/fix/clean-go-mod
Clean `go.mod` after all upgrades and upgrade to Go 1.22
2 parents 5254f58 + 846ab72 commit 958ea59

File tree

4 files changed

+9
-546
lines changed

4 files changed

+9
-546
lines changed

.github/workflows/lint.golang.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
1818
with:
1919
# renovate: datasource=golang-version
20-
go-version: '1.20'
20+
go-version: '1.22'
2121
check-latest: true
2222
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2323

.github/workflows/test.golang.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
2020
with:
2121
# renovate: datasource=golang-version
22-
go-version: '1.20'
22+
go-version: '1.22'
2323
check-latest: true
2424
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2525

go.mod

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
module github.com/radiofrance/gitlab-ci-pipelines-exporter
22

3-
go 1.20
3+
go 1.22
44

55
require (
66
github.com/prometheus/client_golang v1.19.0
77
github.com/stretchr/testify v1.9.0
88
github.com/urfave/cli/v2 v2.27.1
99
github.com/urfave/negroni v1.0.0
10-
github.com/urfave/negroni/v3 v3.1.0
1110
github.com/xanzy/go-gitlab v0.100.0
1211
go.uber.org/zap v1.27.0
1312
)
@@ -21,14 +20,12 @@ require (
2120
github.com/google/go-querystring v1.1.0 // indirect
2221
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
2322
github.com/hashicorp/go-retryablehttp v0.7.2 // indirect
24-
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
2523
github.com/pmezard/go-difflib v1.0.0 // indirect
2624
github.com/prometheus/client_model v0.5.0 // indirect
2725
github.com/prometheus/common v0.48.0 // indirect
2826
github.com/prometheus/procfs v0.12.0 // indirect
2927
github.com/russross/blackfriday/v2 v2.1.0 // indirect
3028
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
31-
go.uber.org/atomic v1.7.0 // indirect
3229
go.uber.org/multierr v1.10.0 // indirect
3330
golang.org/x/net v0.20.0 // indirect
3431
golang.org/x/oauth2 v0.16.0 // indirect

0 commit comments

Comments
 (0)