Skip to content

Commit cfcdc24

Browse files
committed
Upgrade to go v1.23
1 parent edea6f0 commit cfcdc24

8 files changed

Lines changed: 11 additions & 13 deletions

File tree

.github/workflows/build-with-cfg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Go
2424
uses: actions/setup-go@v5
2525
with:
26-
go-version: ${{ inputs.go-version || '^1.22' }}
26+
go-version: ${{ inputs.go-version || '^1.23' }}
2727
check-latest: true
2828

2929
- run: |

.github/workflows/builds.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
matrix:
1818
include:
1919
# test build of oldest supported go version
20-
- name: go1.22
21-
go-version: "~1.22"
20+
- name: go1.23
21+
go-version: "~1.23"
2222
uses: ./.github/workflows/build-with-cfg.yml
2323
with:
2424
go-version: ${{ matrix.go-version }}

.github/workflows/golangci-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v4
1818

19-
- name: Set up Go 1.22+
19+
- name: Set up Go 1.23+
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: "^1.22" # The Go version to download (if necessary) and use.
22+
go-version: "^1.23" # The Go version to download (if necessary) and use.
2323
check-latest: true
2424
cache: false
2525

.github/workflows/test-with-cfg.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
- name: Shallow checkout
3838
uses: actions/checkout@v4
3939

40-
- name: Set up Go 1.22+
40+
- name: Set up Go 1.23+
4141
uses: actions/setup-go@v5
4242
with:
43-
go-version: "^1.22"
43+
go-version: "^1.23"
4444
check-latest: true
4545

4646
- run: go version

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The **client** enables interaction with devices in a local network:
1616

1717
## Requirements
1818

19-
- Go 1.22 or higher
19+
- Go 1.23 or higher
2020

2121
## Installation OCF Client
2222

cmd/bridge-device/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1
2-
FROM golang:1.22.7-alpine AS build
2+
FROM golang:1.23.9-alpine AS build
33
RUN apk add --no-cache build-base curl git
44
WORKDIR $GOPATH/src/github.com/plgd-dev/device
55
COPY go.mod go.sum ./

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/plgd-dev/device/v2
22

3-
go 1.22
4-
5-
toolchain go1.22.0
3+
go 1.23
64

75
require (
86
github.com/fredbi/uri v1.1.0

test/cloud-server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7-alpine AS build
1+
FROM golang:1.23.9-alpine AS build
22
RUN apk add --no-cache build-base curl git
33
WORKDIR $GOPATH/src/github.com/plgd-dev/device
44
COPY go.mod go.sum ./

0 commit comments

Comments
 (0)