Skip to content

Commit 8d0da39

Browse files
authored
sync: update 2 files from source repository (#65)
1 parent 8ed9b93 commit 8d0da39

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

.github/.env.base

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ GO_COVERAGE_PROVIDER=internal
159159
CODECOV_TOKEN_REQUIRED=false
160160

161161
# Go Coverage Tool Version
162-
GO_COVERAGE_VERSION=v1.1.15 # https://github.com/mrz1836/go-coverage/releases
162+
GO_COVERAGE_VERSION=v1.1.16 # https://github.com/mrz1836/go-coverage/releases
163163
GO_COVERAGE_USE_LOCAL=false # Use local version for development
164164

165165
# Core Coverage Settings
@@ -244,15 +244,15 @@ REDIS_CACHE_FORCE_PULL=false # Force pull Redis images even when cache
244244
# 🪄 MAGE-X CONFIGURATION
245245
# ================================================================================================
246246

247-
MAGE_X_VERSION=v1.8.9 # https://github.com/mrz1836/mage-x/releases
247+
MAGE_X_VERSION=v1.8.11 # https://github.com/mrz1836/mage-x/releases
248248
MAGE_X_USE_LOCAL=false # Use local version for development
249249
MAGE_X_AUTO_DISCOVER_BUILD_TAGS=true # Enable auto-discovery of build tags
250250
MAGE_X_AUTO_DISCOVER_BUILD_TAGS_EXCLUDE=race,custom # Comma-separated list of tags to exclude
251251
MAGE_X_FORMAT_EXCLUDE_PATHS=vendor,node_modules,.git,.idea # Format exclusion paths (comma-separated directories to exclude from formatting)
252252
MAGE_X_GITLEAKS_VERSION=8.30.0 # https://github.com/gitleaks/gitleaks/releases
253253
MAGE_X_GOFUMPT_VERSION=v0.9.2 # https://github.com/mvdan/gofumpt/releases
254-
MAGE_X_GOLANGCI_LINT_VERSION=v2.6.2 # https://github.com/golangci/golangci-lint/releases
255-
MAGE_X_GORELEASER_VERSION=v2.13.0 # https://github.com/goreleaser/goreleaser/releases
254+
MAGE_X_GOLANGCI_LINT_VERSION=v2.7.2 # https://github.com/golangci/golangci-lint/releases
255+
MAGE_X_GORELEASER_VERSION=v2.13.1 # https://github.com/goreleaser/goreleaser/releases
256256
MAGE_X_GOVULNCHECK_VERSION=v1.1.4 # https://go.googlesource.com/vuln/+refs
257257
MAGE_X_GO_SECONDARY_VERSION=1.24.x # Secondary Go version for MAGE-X (also our secondary)
258258
MAGE_X_GO_VERSION=1.24.x # Primary Go version for MAGE-X (also our primary)
@@ -316,7 +316,7 @@ NANCY_VERSION=v1.0.52 # https://github.com/sonatype-nexus-commu
316316
# ================================================================================================
317317

318318
# Pre-Commit System
319-
GO_PRE_COMMIT_VERSION=v1.4.3 # https://github.com/mrz1836/go-pre-commit/releases
319+
GO_PRE_COMMIT_VERSION=v1.4.5 # https://github.com/mrz1836/go-pre-commit/releases
320320
GO_PRE_COMMIT_USE_LOCAL=false # Use local version for development
321321

322322
# System Settings
@@ -336,7 +336,7 @@ GO_PRE_COMMIT_DEBUG=false # Enable verbose debug output for tool
336336
GO_PRE_COMMIT_ALL_FILES=true
337337

338338
# Tool Versions
339-
GO_PRE_COMMIT_GOLANGCI_LINT_VERSION=v2.6.2 # https://github.com/golangci/golangci-lint/releases
339+
GO_PRE_COMMIT_GOLANGCI_LINT_VERSION=v2.7.2 # https://github.com/golangci/golangci-lint/releases
340340
GO_PRE_COMMIT_FUMPT_VERSION=v0.9.2 # https://github.com/mvdan/gofumpt/releases
341341
GO_PRE_COMMIT_GOIMPORTS_VERSION=latest # https://github.com/golang/tools
342342
GO_PRE_COMMIT_GITLEAKS_VERSION=v8.30.0 # https://github.com/gitleaks/gitleaks/releases

.github/workflows/fortress.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ jobs:
330330
echo "|-----------|--------|--------|"
331331
echo "| 🎯 Setup | ${{ needs.setup.result }} | Required |"
332332
echo "| 🪄 MAGE-X | ${{ needs.test-magex.result }} | Required |"
333-
echo "| 💾 Warm Cache | ${{ needs.warm-cache.result }} | ${{ needs.setup.outputs.cache-warming-enabled == 'true' && 'Optional' || 'Skipped' }} |"
333+
echo "| 💾 Warm Cache | ${{ needs.warm-cache.result }} | ${{ needs.setup.outputs.cache-warming-enabled == 'true' && 'Required' || 'Disabled' }} |"
334334
echo "| 🔒 Security | ${{ needs.security.result }} | Required |"
335335
echo "| 📊 Code Quality | ${{ needs.code-quality.result }} | Required |"
336336
echo "| 🪝 Pre-commit | ${{ needs.pre-commit.result }} | ${{ needs.setup.outputs.pre-commit-enabled == 'true' && 'Required' || 'Skipped' }} |"
@@ -363,6 +363,14 @@ jobs:
363363
FAILED=true
364364
fi
365365
366+
# Only check warm-cache if it was enabled
367+
if [[ "${{ needs.setup.outputs.cache-warming-enabled }}" == "true" ]]; then
368+
if [[ "${{ needs.warm-cache.result }}" == "failure" || "${{ needs.warm-cache.result }}" == "cancelled" ]]; then
369+
echo "❌ Warm cache failed or was cancelled" >&2
370+
FAILED=true
371+
fi
372+
fi
373+
366374
if [[ "${{ needs.security.result }}" == "failure" || "${{ needs.security.result }}" == "cancelled" ]]; then
367375
echo "❌ Security scans failed or were cancelled" >&2
368376
FAILED=true

0 commit comments

Comments
 (0)