Update build

* Update to Go 1.18.
* Update minimum Go version to 1.17.
* Update Go modules for 1.17 format.
* Bump Go modules
* Enable dependabot.
* Update Prometheus common files.
* Fixup yamllint.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
SuperQ
2022-05-25 11:27:42 +02:00
parent 0bacea243a
commit 81c4933986
9 changed files with 120 additions and 24 deletions

View File

@@ -2,13 +2,13 @@
version: 2.1
orbs:
prometheus: prometheus/prometheus@0.15.0
prometheus: prometheus/prometheus@0.16.0
executors:
# This must match .promu.yml.
golang:
docker:
- image: circleci/golang:1.17
- image: cimg/go:1.18
jobs:
test:
@@ -22,7 +22,7 @@ jobs:
integration:
docker:
- image: circleci/golang:1.17
- image: cimg/go:1.18
- image: << parameters.postgres_image >>
environment:
POSTGRES_DB: circle_test