Skip to content

Commit 4f4b2b7

Browse files
fix: update machine image ci (#416)
* feat/update machine image ci * feat: update minor go version ci * chore: CHANGELOG.md * chore: CHANGELOG.md * refactor: remove unused code * docs: Update CHANGELOG.md --------- Co-authored-by: Jakub Bednář <[email protected]>
1 parent b7958a3 commit 4f4b2b7

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

.circleci/config.yml

+2-18
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version: 2.1
55
jobs:
66
build:
77
machine:
8-
image: ubuntu-2004:202201-02
8+
image: ubuntu-2204:current
99
environment:
1010
ENV: CI
1111
GO111MODULE: "on"
@@ -14,29 +14,13 @@ jobs:
1414
INFLUXDB2_ONBOARDING_URL: "http://localhost:8089"
1515
steps:
1616
- checkout
17-
# - run:
18-
# name: check tidy
19-
# command: |
20-
# go mod tidy
21-
# if ! git --no-pager diff --exit-code -- go.mod go.sum; then
22-
# echo modules are not tidy, please run 'go mod tidy'
23-
# exit 1
24-
# fi
25-
# - run:
26-
# name: check go fmt
27-
# command: |
28-
# go fmt
29-
# if ! git --no-pager diff --exit-code -- go.mod go.sum; then
30-
# echo modules are not tidy, please run 'go fmt ./...'
31-
# exit 1
32-
# fi
3317
- run:
3418
name: "Create a temp directory for artifacts"
3519
command: |
3620
mkdir -p /tmp/artifacts
3721
mkdir -p /tmp/test-results
3822
- run: sudo rm -rf /usr/local/go
39-
- run: wget https://golang.org/dl/go1.20.1.linux-amd64.tar.gz -O /tmp/go.tgz
23+
- run: wget https://golang.org/dl/go1.22.2.linux-amd64.tar.gz -O /tmp/go.tgz
4024
- run: sudo tar -C /usr/local -xzf /tmp/go.tgz
4125
- run: go version
4226
- run: go get -v -t -d ./...

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## 2.15.0 [unreleased]
22

3+
### CI
4+
5+
- [#416](https://github.com/influxdata/influxdb-client-go/pull/416) Update CircleCi machine image to `ubuntu-2204:current`
6+
37
## 2.14.0 [2024-08-12]
48

59
### Features

0 commit comments

Comments
 (0)