aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-02-22 22:56:15 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-02-22 22:56:15 +0200
commitbc2782b240aaaecf1264cf353f0b9a29502a1d94 (patch)
tree801248236ea55cfb2616e6a13a155a3f91c7c04d
parentremove some deprecated calls (diff)
downloadsoko-bc2782b240aaaecf1264cf353f0b9a29502a1d94.tar.gz
soko-bc2782b240aaaecf1264cf353f0b9a29502a1d94.tar.bz2
soko-bc2782b240aaaecf1264cf353f0b9a29502a1d94.zip
bump go to go 1.22.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--Dockerfile2
-rw-r--r--Dockerfile.dev2
-rw-r--r--Dockerfile.updater2
-rw-r--r--Dockerfile.updater.dev2
-rw-r--r--README.md2
-rw-r--r--go.mod2
7 files changed, 7 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b347eb0..d5e29b0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -59,6 +59,6 @@ build-tag:
go-test:
stage: go-test
- image: golang:1.21.4
+ image: golang:1.22.0
script:
- go test -v ./pkg/models/...
diff --git a/Dockerfile b/Dockerfile
index 86de67a..0332055 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM golang:1.21.4 AS builder
+FROM golang:1.22.0 AS builder
RUN go install github.com/a-h/templ/cmd/templ@latest
WORKDIR /go/src/soko
COPY . /go/src/soko
diff --git a/Dockerfile.dev b/Dockerfile.dev
index 7667fe6..5f79e69 100644
--- a/Dockerfile.dev
+++ b/Dockerfile.dev
@@ -1,4 +1,4 @@
-FROM golang:1.21.4
+FROM golang:1.22.0
RUN apt update && apt install -y ca-certificates ntp ntpdate
WORKDIR /go/src/soko
COPY . /go/src/soko
diff --git a/Dockerfile.updater b/Dockerfile.updater
index 3d53e8a..9668b97 100644
--- a/Dockerfile.updater
+++ b/Dockerfile.updater
@@ -1,4 +1,4 @@
-FROM golang:1.21.4 AS builder
+FROM golang:1.22.0 AS builder
RUN go install github.com/a-h/templ/cmd/templ@latest
WORKDIR /go/src/soko
COPY . /go/src/soko
diff --git a/Dockerfile.updater.dev b/Dockerfile.updater.dev
index 7186d63..0db2cc3 100644
--- a/Dockerfile.updater.dev
+++ b/Dockerfile.updater.dev
@@ -1,4 +1,4 @@
-FROM golang:1.21.4
+FROM golang:1.22.0
RUN apt update && apt install -y ca-certificates ntp ntpdate git
WORKDIR /go/src/soko
COPY . /go/src/soko
diff --git a/README.md b/README.md
index c1b4f1d..0064308 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
<p align="center">
<a href="https://gitlab.com/gentoo/soko/-/pipelines"> <img src="https://gitlab.com/gentoo/soko/badges/master/pipeline.svg"></a>
-<a href="https://blog.golang.org/go1.21" ><img src="https://img.shields.io/badge/Go-v1.21-blue"></a>
+<a href="https://blog.golang.org/go1.22" ><img src="https://img.shields.io/badge/Go-v1.22-blue"></a>
<a href="#contributing"> <img src="https://img.shields.io/badge/contributions-welcome-orange.svg"></a>
<a href="https://packagestest.gentoo.org"><img src="https://img.shields.io/badge/staging%20environment-develop-blue" /></a>
<a href="https://opensource.org/licenses/TBD"><img src="https://img.shields.io/badge/license-TBD-blue.svg"></a>
diff --git a/go.mod b/go.mod
index 49e779c..7440767 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module soko
-go 1.21
+go 1.22
require (
github.com/99designs/gqlgen v0.17.42