mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
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
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:
parent
e9f6751807
commit
215562ed40
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user