ci: upgrade to Go 1.22 (#4967)

This commit is contained in:
Denis Mishin 2024-02-28 14:58:31 -05:00 committed by GitHub
parent b182ef350e
commit 61360b7bbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 10 additions and 10 deletions

View file

@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.21.x]
go-version: [1.22.x]
node-version: [16.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}

View file

@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: 1.21.x
go-version: 1.22.x
cache: false
- run: make deps-build

View file

@ -33,7 +33,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: 1.21.x
go-version: 1.22.x
cache: false
- name: Set up Docker

View file

@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.21.x]
go-version: [1.22.x]
node-version: [16.x]
platform: [ubuntu-latest]
deployment: [multi, single]
@ -53,7 +53,7 @@ jobs:
build:
strategy:
matrix:
go-version: [1.21.x]
go-version: [1.22.x]
node-version: [16.x]
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
@ -126,7 +126,7 @@ jobs:
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: 1.21.x
go-version: 1.22.x
cache: false
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c

View file

@ -1 +1 @@
golang 1.21.4
golang 1.22.0

View file

@ -13,7 +13,7 @@ RUN make yarn
COPY ./ui/ ./ui/
RUN make build-ui
FROM golang:1.21.6-bookworm@sha256:69bfed39a11563b13cddf6167195e5637a14212f95fd5a4954b377c0511d2fda as build
FROM golang:1.22.0-bookworm@sha256:925fe3fa28ba428cf67a7947ae838f8a1523117b40e3e6b5106c378e3f97fa29 as build
WORKDIR /go/src/github.com/pomerium/pomerium
RUN apt-get update \

View file

@ -13,7 +13,7 @@ RUN make yarn
COPY ./ui/ ./ui/
RUN make build-ui
FROM golang:1.21.6-bookworm@sha256:69bfed39a11563b13cddf6167195e5637a14212f95fd5a4954b377c0511d2fda as build
FROM golang:1.22.0-bookworm@sha256:925fe3fa28ba428cf67a7947ae838f8a1523117b40e3e6b5106c378e3f97fa29 as build
WORKDIR /go/src/github.com/pomerium/pomerium
RUN apt-get update \

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/pomerium/pomerium
go 1.21
go 1.22
require (
cloud.google.com/go/storage v1.37.0