Skip to content

Commit bd7ca96

Browse files
committed
Update Go version
Update Go build to 1.23. Signed-off-by: SuperQ <[email protected]>
1 parent 762b1e7 commit bd7ca96

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.circleci/config.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ executors:
77
# should also be updated.
88
golang:
99
docker:
10-
- image: cimg/go:1.22
10+
- image: cimg/go:1.23
1111
jobs:
1212
test:
1313
executor: golang
@@ -18,7 +18,7 @@ jobs:
1818
file: mysqld_exporter
1919
integration:
2020
docker:
21-
- image: cimg/go:1.22
21+
- image: cimg/go:1.23
2222
- image: << parameters.mysql_image >>
2323
environment:
2424
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
@@ -59,7 +59,7 @@ workflows:
5959
- mariadb:10.5
6060
- mariadb:10.6
6161
- mariadb:10.11
62-
- mariadb:11.2
62+
- mariadb:11.4
6363
- prometheus/build:
6464
name: build
6565
parallelism: 3

.github/workflows/golangci-lint.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
27+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2828
- name: Install Go
29-
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
29+
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
3030
with:
3131
go-version: 1.23.x
3232
- name: Install snmp_exporter/generator dependencies
3333
run: sudo apt-get update && sudo apt-get -y install libsnmp-dev
3434
if: github.repository == 'prometheus/snmp_exporter'
3535
- name: Lint
36-
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0
36+
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
3737
with:
3838
args: --verbose
3939
version: v1.60.2

.promu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
go:
22
# Whenever the Go version is updated here, .circle/config.yml should also
33
# be updated.
4-
version: 1.22
4+
version: 1.23
55
repository:
66
path: github.com/prometheus/mysqld_exporter
77
build:

0 commit comments

Comments
 (0)