Skip to content

Commit

Permalink
update go to 1.22.2 due to CVE and upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zllovesuki committed Apr 4, 2024
1 parent 4a0a182 commit d687121
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
go: ["1.22.1"]
go: ["1.22.2"]
env:
OS: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: "1.22.1"
go-version: "1.22.2"
- uses: actions/cache@v3
with:
path: |
Expand All @@ -76,7 +76,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: "1.22.1"
go-version: "1.22.2"
- uses: actions/cache@v3
with:
path: |
Expand All @@ -99,7 +99,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: "1.22.1"
go-version: "1.22.2"
- uses: actions/cache@v3
with:
path: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
go: ["1.22.1"]
go: ["1.22.2"]
env:
OS: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: "1.22.1"
go-version: "1.22.2"
- uses: actions/cache@v3
with:
path: |
Expand All @@ -68,7 +68,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: "1.22.1"
go-version: "1.22.2"
- uses: actions/cache@v3
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM --platform=$BUILDPLATFORM golang:1.22.1-alpine as builder
FROM --platform=$BUILDPLATFORM golang:1.22.2-alpine as builder
RUN apk --no-cache add ca-certificates git
WORKDIR /app
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM golang:1.22.1-bullseye as builder
FROM golang:1.22.2-bullseye as builder
RUN apt install ca-certificates gcc
WORKDIR /app
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.flyio
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.1-alpine as builder
FROM golang:1.22.2-alpine as builder
RUN apk --no-cache add ca-certificates
WORKDIR /app
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.validator
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM --platform=$BUILDPLATFORM golang:1.22.1-alpine as builder
FROM --platform=$BUILDPLATFORM golang:1.22.2-alpine as builder
RUN apk --no-cache add ca-certificates git
WORKDIR /app
COPY . .
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/Microsoft/go-winio v0.6.1
github.com/TheZeroSlave/zapsentry v1.20.2
github.com/TheZeroSlave/zapsentry v1.22.1
github.com/Yiling-J/theine-go v0.3.2
github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9
github.com/avast/retry-go/v4 v4.5.1
Expand Down Expand Up @@ -36,7 +36,7 @@ require (
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8
golang.org/x/net v0.22.0
golang.org/x/net v0.23.0
golang.org/x/sync v0.6.0
golang.org/x/sys v0.18.0
google.golang.org/protobuf v1.33.0
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow=
github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM=
github.com/TheZeroSlave/zapsentry v1.20.2 h1:llgC91ZJdoU/OzGxYpUlEhKinf65mw9hJ2KkZ7+cGIk=
github.com/TheZeroSlave/zapsentry v1.20.2/go.mod h1:D1YMfSuu6xnkhwFXxrronesmsiyDhIqo+86I3Ok+r64=
github.com/TheZeroSlave/zapsentry v1.22.1 h1:NB7JW4SDlWCdEZ+7qqbjfS3hkvuJuTRAvHh4RRKo4BY=
github.com/TheZeroSlave/zapsentry v1.22.1/go.mod h1:D1YMfSuu6xnkhwFXxrronesmsiyDhIqo+86I3Ok+r64=
github.com/Yiling-J/theine-go v0.3.2 h1:XcSdMPV9DwBD9gqqSxbBfVJnP8CCiqNSqp3C6YpmMHI=
github.com/Yiling-J/theine-go v0.3.2/go.mod h1:ygLXqrWPZT/a+PzK5hQ0+a6gu0lpAY5IudTcgnPleqI=
github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9 h1:ez/4by2iGztzR4L0zgAOR8lTQK9VlyBVVd7G4omaOQs=
Expand Down Expand Up @@ -178,8 +178,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
golang.org/x/net v0.22.0 h1:9sGLhx7iRIHEiX0oAJ3MRZMUCElJgy7Br1nO+AMN3Tc=
golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs=
golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
Expand Down

0 comments on commit d687121

Please sign in to comment.