mirror of
https://github.com/gomods/athens
synced 2026-02-03 08:40:31 +00:00
Bump go version to 1.23.4 (#2019)
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
ARG GOLANG_VERSION=1.23
|
ARG GOLANG_VERSION=1.23.4
|
||||||
FROM golang:$GOLANG_VERSION
|
FROM golang:$GOLANG_VERSION
|
||||||
|
|
||||||
RUN echo $GOLANG_VERSION
|
RUN echo $GOLANG_VERSION
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ DATE=$(shell date -u +%Y-%m-%d-%H:%M:%S-%Z)
|
|||||||
GOLANGCI_LINT_VERSION=v1.61.0
|
GOLANGCI_LINT_VERSION=v1.61.0
|
||||||
|
|
||||||
ifndef GOLANG_VERSION
|
ifndef GOLANG_VERSION
|
||||||
override GOLANG_VERSION = 1.23.2
|
override GOLANG_VERSION = 1.23.4
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ environment:
|
|||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
SKIP_UNTIL_113: true
|
SKIP_UNTIL_113: true
|
||||||
|
|
||||||
stack: go 1.23
|
stack: go 1.23.4
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- go version
|
- go version
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
# You can override the Go version used to build the image.
|
# You can override the Go version used to build the image.
|
||||||
# See project Makefile if using make.
|
# See project Makefile if using make.
|
||||||
# See docker --build-arg if building directly.
|
# See docker --build-arg if building directly.
|
||||||
ARG GOLANG_VERSION=1.23
|
ARG GOLANG_VERSION=1.23.4
|
||||||
ARG ALPINE_VERSION=3.20
|
ARG ALPINE_VERSION=3.20
|
||||||
|
|
||||||
FROM golang:${GOLANG_VERSION}-alpine AS builder
|
FROM golang:${GOLANG_VERSION}-alpine AS builder
|
||||||
|
|||||||
+3
-3
@@ -5,7 +5,7 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: cmd/proxy/Dockerfile
|
dockerfile: cmd/proxy/Dockerfile
|
||||||
args:
|
args:
|
||||||
GOLANG_VERSION: "1.23"
|
GOLANG_VERSION: "1.23.4"
|
||||||
environment:
|
environment:
|
||||||
- ATHENS_MONGO_STORAGE_URL=mongodb://mongo:27017
|
- ATHENS_MONGO_STORAGE_URL=mongodb://mongo:27017
|
||||||
- TIMEOUT=20 # in case the mongo dependency takes longer to start up
|
- TIMEOUT=20 # in case the mongo dependency takes longer to start up
|
||||||
@@ -20,7 +20,7 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile.test
|
dockerfile: Dockerfile.test
|
||||||
args:
|
args:
|
||||||
GOLANG_VERSION: "1.23"
|
GOLANG_VERSION: "1.23.4"
|
||||||
command: ["./scripts/test_unit.sh"]
|
command: ["./scripts/test_unit.sh"]
|
||||||
environment:
|
environment:
|
||||||
- GO_ENV=test
|
- GO_ENV=test
|
||||||
@@ -36,7 +36,7 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile.test
|
dockerfile: Dockerfile.test
|
||||||
args:
|
args:
|
||||||
GOLANG_VERSION: "1.23"
|
GOLANG_VERSION: "1.23.4"
|
||||||
command: ["./scripts/test_e2e.sh"]
|
command: ["./scripts/test_e2e.sh"]
|
||||||
azurite:
|
azurite:
|
||||||
image: arafato/azurite:2.6.5
|
image: arafato/azurite:2.6.5
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/gomods/athens
|
module github.com/gomods/athens
|
||||||
|
|
||||||
go 1.23.2
|
go 1.23.4
|
||||||
|
|
||||||
require (
|
require (
|
||||||
cloud.google.com/go/storage v1.45.0
|
cloud.google.com/go/storage v1.45.0
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.23-bookworm
|
FROM golang:1.23.4-bookworm
|
||||||
|
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user