fix: Align all Go versions and ensure consistent module configuration
Some checks failed
CI/CD Pipeline / frontend-lint (push) Failing after 28s
CI/CD Pipeline / frontend-build (push) Has been skipped
CI/CD Pipeline / backend-lint (push) Failing after 31s
CI/CD Pipeline / backend-build (push) Has been skipped
CI/CD Pipeline / e2e-test (push) Has been skipped

- Update Dockerfile from golang:1.21 to golang:1.25.3 to match go.mod
- Update Dockerfile.dev from golang:1.25 to golang:1.25.3 for consistency
- Add GO111MODULE=on to all Go-related CI steps for explicit module mode
- Ensures all environments (CI, Docker, local) use Go 1.25.3 consistently
This commit is contained in:
Damir Mukimov 2025-12-24 23:13:02 +01:00
parent e9f6751807
commit 215562ed40
No known key found for this signature in database
GPG Key ID: 42996CC7C73BC750
3 changed files with 8 additions and 2 deletions

View File

@ -72,6 +72,8 @@ jobs:
go-version: '1.25.3'
- name: Download dependencies
working-directory: bugulma/backend
env:
GO111MODULE: on
run: go mod download
- name: Vet
working-directory: bugulma/backend
@ -85,9 +87,13 @@ jobs:
go vet ./...
- name: Test
working-directory: bugulma/backend
env:
GO111MODULE: on
run: go test -v -race -coverprofile=coverage.out ./...
- name: Coverage
working-directory: bugulma/backend
env:
GO111MODULE: on
run: go tool cover -html=coverage.out -o coverage.html
backend-build:

View File

@ -1,5 +1,5 @@
# Production Dockerfile for Turash backend
FROM golang:1.21-alpine AS builder
FROM golang:1.25.3-alpine AS builder
# Set working directory
WORKDIR /app

View File

@ -1,5 +1,5 @@
# Development Dockerfile for hot reload
FROM golang:1.25-alpine AS builder
FROM golang:1.25.3-alpine AS builder
# Install air for hot reload
RUN go install github.com/air-verse/air@latest