Skip to content

Commit

Permalink
Update Go to 1.22.3 (#2179)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixq committed May 8, 2024
1 parent ec8be32 commit cf560c7
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.22.2'
go-version: '>=1.22.3'
- name: Set up terraform
uses: hashicorp/setup-terraform@v2
- name: Run pylint and yapf, go vet
Expand Down
2 changes: 1 addition & 1 deletion docker/ci/install_go.sh
Expand Up @@ -19,4 +19,4 @@ set -eux

# Download and install Go
# https://pkg.go.dev/golang.org/x/tools/cmd/getgo#section-readme
curl -LO https://get.golang.org/$(uname)/go_installer && chmod +x go_installer && SHELL="bash" ./go_installer -version 1.22.2 && rm go_installer
curl -LO https://get.golang.org/$(uname)/go_installer && chmod +x go_installer && SHELL="bash" ./go_installer -version 1.22.3 && rm go_installer
2 changes: 1 addition & 1 deletion docker/indexer/Dockerfile
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.22.2-alpine@sha256:cdc86d9f363e8786845bea2040312b4efa321b828acdeb26f393faa864d887b0 AS GO_BUILD
FROM golang:1.22.3-alpine@sha256:2a882244fb51835ebbd8313bffee83775b0c076aaf56b497b43d8a4c72db65e1 AS GO_BUILD
WORKDIR /build

# Cache dependencies in these steps
Expand Down
2 changes: 1 addition & 1 deletion docker/indexer/go.mod
@@ -1,6 +1,6 @@
module github.com/google/osv.dev/docker/indexer

go 1.22.2
go 1.22.3

require (
cloud.google.com/go/datastore v1.15.0
Expand Down
2 changes: 1 addition & 1 deletion docker/terraform/Dockerfile
@@ -1,6 +1,6 @@
# Taken and modified from https://github.com/GoogleCloudPlatform/cloud-builders-community/tree/master/terraform

FROM golang:1.22.2-alpine@sha256:cdc86d9f363e8786845bea2040312b4efa321b828acdeb26f393faa864d887b0 AS GO_BUILD
FROM golang:1.22.3-alpine@sha256:2a882244fb51835ebbd8313bffee83775b0c076aaf56b497b43d8a4c72db65e1 AS GO_BUILD

ARG TERRAFORM_VERSION
WORKDIR /build/
Expand Down
2 changes: 1 addition & 1 deletion docs/go.mod
@@ -1,6 +1,6 @@
module osv.dev/tools

go 1.22.2
go 1.22.3

require (
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1
Expand Down
2 changes: 1 addition & 1 deletion go.work
@@ -1,4 +1,4 @@
go 1.22.2
go 1.22.3

use (
./docker/indexer
Expand Down
2 changes: 1 addition & 1 deletion tools/datastore-remover/go.mod
@@ -1,6 +1,6 @@
module github.com/google/datastore-remover

go 1.22.2
go 1.22.3

require (
cloud.google.com/go/datastore v1.15.0
Expand Down
2 changes: 1 addition & 1 deletion tools/indexer-api-caller/go.mod
@@ -1,3 +1,3 @@
module github.com/google/indexer-api-caller

go 1.22.2
go 1.22.3
2 changes: 1 addition & 1 deletion vulnfeeds/cmd/alpine/Dockerfile
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.22.2-alpine@sha256:cdc86d9f363e8786845bea2040312b4efa321b828acdeb26f393faa864d887b0 AS GO_BUILD
FROM golang:1.22.3-alpine@sha256:2a882244fb51835ebbd8313bffee83775b0c076aaf56b497b43d8a4c72db65e1 AS GO_BUILD

RUN mkdir /src
WORKDIR /src
Expand Down
2 changes: 1 addition & 1 deletion vulnfeeds/cmd/combine-to-osv/Dockerfile
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.22.2-alpine@sha256:cdc86d9f363e8786845bea2040312b4efa321b828acdeb26f393faa864d887b0 AS GO_BUILD
FROM golang:1.22.3-alpine@sha256:2a882244fb51835ebbd8313bffee83775b0c076aaf56b497b43d8a4c72db65e1 AS GO_BUILD

RUN mkdir /src
WORKDIR /src
Expand Down
2 changes: 1 addition & 1 deletion vulnfeeds/cmd/cpe-repo-gen/Dockerfile
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.22.2-alpine@sha256:cdc86d9f363e8786845bea2040312b4efa321b828acdeb26f393faa864d887b0 AS GO_BUILD
FROM golang:1.22.3-alpine@sha256:2a882244fb51835ebbd8313bffee83775b0c076aaf56b497b43d8a4c72db65e1 AS GO_BUILD

RUN mkdir /src
WORKDIR /src
Expand Down
2 changes: 1 addition & 1 deletion vulnfeeds/cmd/debian/Dockerfile
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.22.2-alpine@sha256:cdc86d9f363e8786845bea2040312b4efa321b828acdeb26f393faa864d887b0 AS GO_BUILD
FROM golang:1.22.3-alpine@sha256:2a882244fb51835ebbd8313bffee83775b0c076aaf56b497b43d8a4c72db65e1 AS GO_BUILD

RUN mkdir /src
WORKDIR /src
Expand Down
2 changes: 1 addition & 1 deletion vulnfeeds/cmd/download-cves/Dockerfile
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.22.2-alpine@sha256:cdc86d9f363e8786845bea2040312b4efa321b828acdeb26f393faa864d887b0 AS GO_BUILD
FROM golang:1.22.3-alpine@sha256:2a882244fb51835ebbd8313bffee83775b0c076aaf56b497b43d8a4c72db65e1 AS GO_BUILD

RUN mkdir /src
WORKDIR /src
Expand Down
2 changes: 1 addition & 1 deletion vulnfeeds/cmd/nvd-cve-osv/Dockerfile
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.22.1-alpine@sha256:5a99b4049412cd34ad6b4e0c9527ae6beb9ae82d787b4bf3f4eff7aa13fc577a AS GO_BUILD
FROM golang:1.22.3-alpine@sha256:2a882244fb51835ebbd8313bffee83775b0c076aaf56b497b43d8a4c72db65e1 AS GO_BUILD

WORKDIR /go/src

Expand Down
2 changes: 1 addition & 1 deletion vulnfeeds/go.mod
@@ -1,6 +1,6 @@
module github.com/google/osv/vulnfeeds

go 1.22.2
go 1.22.3

require (
cloud.google.com/go/logging v1.8.1
Expand Down

0 comments on commit cf560c7

Please sign in to comment.