Skip to content

Commit 4563152

Browse files
author
copyleftdev
committed
fix: update to use host Go version 1.25
- Updated go.mod to use Go 1.25 (matching host system) - Updated GitHub Actions CI/CD workflow to use Go 1.25 - Updated Dockerfile to use golang:1.25-alpine - Restored latest tool versions now that Go 1.25 is used - This should resolve all CI/CD pipeline failures The host system is running Go 1.25.0, so all configurations now match the actual runtime environment.
1 parent 9e67d70 commit 4563152

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
types: [ published ]
1010

1111
env:
12-
GO_VERSION: '1.21'
12+
GO_VERSION: '1.25'
1313
REGISTRY: ghcr.io
1414
IMAGE_NAME: ${{ github.repository }}
1515

@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
go-version: ['1.21']
22+
go-version: ['1.25']
2323

2424
steps:
2525
- name: Checkout code

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Created by copyleftdev
44

55
# Build stage
6-
FROM golang:1.21-alpine AS builder
6+
FROM golang:1.25-alpine AS builder
77

88
# Install build dependencies
99
RUN apk add --no-cache git ca-certificates tzdata

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,9 @@ deps: ## Download and verify dependencies
109109
tools: ## Install development tools
110110
@echo "$(CYAN)Installing development tools...$(NC)"
111111
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
112-
@go install github.com/goreleaser/goreleaser@latest
113-
@go install github.com/swaggo/swag/cmd/swag@latest
114112
@go install golang.org/x/tools/cmd/goimports@latest
115-
@go install github.com/securecodewarrior/sast-scan@latest
113+
@go install github.com/securecodewarrior/gosec/cmd/gosec@latest
114+
@go install github.com/goreleaser/goreleaser@latest
116115
@echo "$(GREEN)Development tools installed!$(NC)"
117116

118117
# ============================================================================

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/copyleftdev/faux-foundry
22

3-
go 1.24.0
3+
go 1.25
44

55
require (
66
github.com/charmbracelet/bubbletea v1.3.10

0 commit comments

Comments
 (0)