Skip to content

Commit 35fc104

Browse files
authored
Upgrade to Go 1.23 (prebid#4112)
1 parent f3b5bce commit 35fc104

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dockerfile": "Dockerfile",
77
"args": {
88
// Update the VARIANT arg to pick a version of Go
9-
"VARIANT": "1.22",
9+
"VARIANT": "1.23",
1010
// Options
1111
"INSTALL_NODE": "false",
1212
"NODE_VERSION": "lts/*"

.github/workflows/adapter-code-coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Install Go
1616
uses: actions/setup-go@v5
1717
with:
18-
go-version: 1.22.3
18+
go-version: 1.23.4
1919

2020
- name: Checkout Code
2121
uses: actions/checkout@v4

.github/workflows/validate-merge.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Install Go
1313
uses: actions/setup-go@v5
1414
with:
15-
go-version: 1.22.3
15+
go-version: 1.23.4
1616

1717
- name: Checkout Merged Branch
1818
uses: actions/checkout@v4

.github/workflows/validate.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
validate:
1111
strategy:
1212
matrix:
13-
go-version: [1.21.x, 1.22.x]
13+
go-version: [1.22.x, 1.23.x]
1414
os: [ubuntu-20.04]
1515
runs-on: ${{ matrix.os }}
1616

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ RUN apt-get update && \
33
apt-get -y upgrade && \
44
apt-get install -y wget
55
WORKDIR /tmp
6-
RUN wget https://dl.google.com/go/go1.22.3.linux-amd64.tar.gz && \
7-
tar -xf go1.22.3.linux-amd64.tar.gz && \
6+
RUN wget https://dl.google.com/go/go1.23.4.linux-amd64.tar.gz && \
7+
tar -xf go1.23.4.linux-amd64.tar.gz && \
88
mv go /usr/local
99
RUN mkdir -p /app/prebid-server/
1010
WORKDIR /app/prebid-server/

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Ensure that you deploy the `/static` directory, as Prebid Server requires those
4444

4545
## Developing
4646

47-
Prebid Server requires [Go](https://go.dev) version 1.21 or newer. You can develop on any operating system that Go supports; however, please note that our helper scripts are written in bash.
47+
Prebid Server requires [Go](https://go.dev) version 1.22 or newer. You can develop on any operating system that Go supports; however, please note that our helper scripts are written in bash.
4848

4949
1. Clone The Repository
5050
``` bash

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/prebid/prebid-server/v3
22

3-
go 1.21
3+
go 1.22
44

55
retract v3.0.0 // Forgot to update major version in import path and module name
66

0 commit comments

Comments
 (0)