update gcloud build config to 1.18
Change-Id: Ie831fabbe24ddc3f2e7ae2ce72d275cf222b5dbd
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/395514
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
diff --git a/deploy/worker.yaml b/deploy/worker.yaml
index d2b2280..e8c636f 100644
--- a/deploy/worker.yaml
+++ b/deploy/worker.yaml
@@ -12,7 +12,7 @@
steps:
- id: Lock
- name: golang:1.17.3
+ name: golang:1.18.0
entrypoint: bash
args:
- -ec
@@ -25,7 +25,7 @@
-project $PROJECT_ID -build $BUILD_ID -repo https://go.googlesource.com/vulndb
- id: Test
- name: golang:1.17.3
+ name: golang:1.18.0
entrypoint: bash
args:
- -ec
diff --git a/internal/worker/store/store_test.go b/internal/worker/store/store_test.go
index b5becb5..a9fce39 100644
--- a/internal/worker/store/store_test.go
+++ b/internal/worker/store/store_test.go
@@ -2,9 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build go1.17
-// +build go1.17
-
package store
import (