Skip to content

Commit

Permalink
Update Go version
Browse files Browse the repository at this point in the history
Update Go build to 1.23.

Signed-off-by: SuperQ <[email protected]>
  • Loading branch information
SuperQ committed Nov 8, 2024
1 parent 762b1e7 commit bd7ca96
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ executors:
# should also be updated.
golang:
docker:
- image: cimg/go:1.22
- image: cimg/go:1.23
jobs:
test:
executor: golang
Expand All @@ -18,7 +18,7 @@ jobs:
file: mysqld_exporter
integration:
docker:
- image: cimg/go:1.22
- image: cimg/go:1.23
- image: << parameters.mysql_image >>
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
Expand Down Expand Up @@ -59,7 +59,7 @@ workflows:
- mariadb:10.5
- mariadb:10.6
- mariadb:10.11
- mariadb:11.2
- mariadb:11.4
- prometheus/build:
name: build
parallelism: 3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: 1.23.x
- name: Install snmp_exporter/generator dependencies
run: sudo apt-get update && sudo apt-get -y install libsnmp-dev
if: github.repository == 'prometheus/snmp_exporter'
- name: Lint
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
args: --verbose
version: v1.60.2
2 changes: 1 addition & 1 deletion .promu.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
go:
# Whenever the Go version is updated here, .circle/config.yml should also
# be updated.
version: 1.22
version: 1.23
repository:
path: github.com/prometheus/mysqld_exporter
build:
Expand Down

0 comments on commit bd7ca96

Please sign in to comment.