diff --git a/.github/.env.base b/.github/.env.base index 3c605ff..c841d15 100644 --- a/.github/.env.base +++ b/.github/.env.base @@ -159,7 +159,7 @@ GO_COVERAGE_PROVIDER=internal CODECOV_TOKEN_REQUIRED=false # Go Coverage Tool Version -GO_COVERAGE_VERSION=v1.1.15 # https://github.com/mrz1836/go-coverage/releases +GO_COVERAGE_VERSION=v1.1.16 # https://github.com/mrz1836/go-coverage/releases GO_COVERAGE_USE_LOCAL=false # Use local version for development # Core Coverage Settings @@ -244,15 +244,15 @@ REDIS_CACHE_FORCE_PULL=false # Force pull Redis images even when cache # 🪄 MAGE-X CONFIGURATION # ================================================================================================ -MAGE_X_VERSION=v1.8.9 # https://github.com/mrz1836/mage-x/releases +MAGE_X_VERSION=v1.8.11 # https://github.com/mrz1836/mage-x/releases MAGE_X_USE_LOCAL=false # Use local version for development MAGE_X_AUTO_DISCOVER_BUILD_TAGS=true # Enable auto-discovery of build tags MAGE_X_AUTO_DISCOVER_BUILD_TAGS_EXCLUDE=race,custom # Comma-separated list of tags to exclude MAGE_X_FORMAT_EXCLUDE_PATHS=vendor,node_modules,.git,.idea # Format exclusion paths (comma-separated directories to exclude from formatting) MAGE_X_GITLEAKS_VERSION=8.30.0 # https://github.com/gitleaks/gitleaks/releases MAGE_X_GOFUMPT_VERSION=v0.9.2 # https://github.com/mvdan/gofumpt/releases -MAGE_X_GOLANGCI_LINT_VERSION=v2.6.2 # https://github.com/golangci/golangci-lint/releases -MAGE_X_GORELEASER_VERSION=v2.13.0 # https://github.com/goreleaser/goreleaser/releases +MAGE_X_GOLANGCI_LINT_VERSION=v2.7.2 # https://github.com/golangci/golangci-lint/releases +MAGE_X_GORELEASER_VERSION=v2.13.1 # https://github.com/goreleaser/goreleaser/releases MAGE_X_GOVULNCHECK_VERSION=v1.1.4 # https://go.googlesource.com/vuln/+refs MAGE_X_GO_SECONDARY_VERSION=1.24.x # Secondary Go version for MAGE-X (also our secondary) 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 # ================================================================================================ # Pre-Commit System -GO_PRE_COMMIT_VERSION=v1.4.3 # https://github.com/mrz1836/go-pre-commit/releases +GO_PRE_COMMIT_VERSION=v1.4.5 # https://github.com/mrz1836/go-pre-commit/releases GO_PRE_COMMIT_USE_LOCAL=false # Use local version for development # System Settings @@ -336,7 +336,7 @@ GO_PRE_COMMIT_DEBUG=false # Enable verbose debug output for tool GO_PRE_COMMIT_ALL_FILES=true # Tool Versions -GO_PRE_COMMIT_GOLANGCI_LINT_VERSION=v2.6.2 # https://github.com/golangci/golangci-lint/releases +GO_PRE_COMMIT_GOLANGCI_LINT_VERSION=v2.7.2 # https://github.com/golangci/golangci-lint/releases GO_PRE_COMMIT_FUMPT_VERSION=v0.9.2 # https://github.com/mvdan/gofumpt/releases GO_PRE_COMMIT_GOIMPORTS_VERSION=latest # https://github.com/golang/tools GO_PRE_COMMIT_GITLEAKS_VERSION=v8.30.0 # https://github.com/gitleaks/gitleaks/releases diff --git a/.github/workflows/fortress.yml b/.github/workflows/fortress.yml index 676be9b..c889802 100644 --- a/.github/workflows/fortress.yml +++ b/.github/workflows/fortress.yml @@ -330,7 +330,7 @@ jobs: echo "|-----------|--------|--------|" echo "| 🎯 Setup | ${{ needs.setup.result }} | Required |" echo "| 🪄 MAGE-X | ${{ needs.test-magex.result }} | Required |" - echo "| 💾 Warm Cache | ${{ needs.warm-cache.result }} | ${{ needs.setup.outputs.cache-warming-enabled == 'true' && 'Optional' || 'Skipped' }} |" + echo "| 💾 Warm Cache | ${{ needs.warm-cache.result }} | ${{ needs.setup.outputs.cache-warming-enabled == 'true' && 'Required' || 'Disabled' }} |" echo "| 🔒 Security | ${{ needs.security.result }} | Required |" echo "| 📊 Code Quality | ${{ needs.code-quality.result }} | Required |" echo "| 🪝 Pre-commit | ${{ needs.pre-commit.result }} | ${{ needs.setup.outputs.pre-commit-enabled == 'true' && 'Required' || 'Skipped' }} |" @@ -363,6 +363,14 @@ jobs: FAILED=true fi + # Only check warm-cache if it was enabled + if [[ "${{ needs.setup.outputs.cache-warming-enabled }}" == "true" ]]; then + if [[ "${{ needs.warm-cache.result }}" == "failure" || "${{ needs.warm-cache.result }}" == "cancelled" ]]; then + echo "❌ Warm cache failed or was cancelled" >&2 + FAILED=true + fi + fi + if [[ "${{ needs.security.result }}" == "failure" || "${{ needs.security.result }}" == "cancelled" ]]; then echo "❌ Security scans failed or were cancelled" >&2 FAILED=true