Skip to content

Commit 64d326d

Browse files
authored
sync(ci): update tool versions and test matrix config (#275)
1 parent 8ba8d71 commit 64d326d

File tree

6 files changed

+12
-13
lines changed

6 files changed

+12
-13
lines changed

.github/env/00-core.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ GO_SECONDARY_VERSION=1.24.x
3030

3131
# Govulncheck-specific Go version for vulnerability scanning
3232
GOVULNCHECK_GO_VERSION=1.25.7
33+
#GOVULNCHECK_GO_VERSION=1.26.0 # Coming soon!
3334

3435
# ================================================================================================
3536
# 📦 GO MODULE CONFIGURATION

.github/env/10-coverage.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ GO_COVERAGE_PROVIDER=internal
3232
CODECOV_TOKEN_REQUIRED=false
3333

3434
# Go Coverage Tool Version
35-
GO_COVERAGE_VERSION=v1.3.1
35+
GO_COVERAGE_VERSION=v1.3.4
3636
GO_COVERAGE_USE_LOCAL=false
3737

3838
# ================================================================================================

.github/env/10-mage-x.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ MAGE_X_FORMAT_EXCLUDE_PATHS=vendor,node_modules,.git,.idea
6161

6262
MAGE_X_GITLEAKS_VERSION=8.30.0
6363
MAGE_X_GOFUMPT_VERSION=v0.9.2
64-
MAGE_X_GOLANGCI_LINT_VERSION=v2.8.0
64+
MAGE_X_GOLANGCI_LINT_VERSION=v2.9.0
6565
MAGE_X_GORELEASER_VERSION=v2.13.3
6666
MAGE_X_GOVULNCHECK_VERSION=v1.1.4
6767
MAGE_X_GO_SECONDARY_VERSION=1.24.x
@@ -71,7 +71,7 @@ MAGE_X_NANCY_VERSION=v1.2.0
7171
MAGE_X_STATICCHECK_VERSION=2025.1.1
7272
MAGE_X_SWAG_VERSION=v1.16.6
7373
MAGE_X_YAMLFMT_VERSION=v0.21.0
74-
MAGE_X_BENCHSTAT_VERSION=v0.0.0-20260112171951-5abaabe9f1bd
74+
MAGE_X_BENCHSTAT_VERSION=v0.0.0-20260211190930-8161c38c6cdc
7575
MAGE_X_MAGE_VERSION=v1.15.0
7676

7777
# ================================================================================================

.github/env/10-pre-commit.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ GO_PRE_COMMIT_ALL_FILES=true
5252
# 🛠️ TOOL VERSIONS
5353
# ================================================================================================
5454

55-
GO_PRE_COMMIT_GOLANGCI_LINT_VERSION=v2.8.0
55+
GO_PRE_COMMIT_GOLANGCI_LINT_VERSION=v2.9.0
5656
GO_PRE_COMMIT_FUMPT_VERSION=v0.9.2
5757
GO_PRE_COMMIT_GOIMPORTS_VERSION=latest
5858
GO_PRE_COMMIT_GITLEAKS_VERSION=v8.30.0

.github/workflows/fortress-test-matrix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ jobs:
248248
echo "🏁 Running tests with race detection (timeout: $TEST_TIMEOUT)..."
249249
else
250250
TEST_TIMEOUT="${TEST_TIMEOUT_UNIT:-20m}"
251-
TEST_TYPE="unit"
252-
echo "🏁 Running tests without coverage or race detection (timeout: $TEST_TIMEOUT)..."
251+
TEST_TYPE="short"
252+
echo "🏁 Running short tests (skipping integration tests) (timeout: $TEST_TIMEOUT)..."
253253
fi
254254
255255
# magex CI mode auto-detects GitHub Actions and produces structured output

.github/workflows/pull-request-management-fork.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Purpose: Automate labeling, assignment, and welcoming of pull requests for forked PRs.
55
#
6-
# Configuration: All settings are loaded from modular .github/env/ files for
6+
# Configuration: All settings are loaded from .env.base and .env.custom files for
77
# centralized management across all workflows.
88
#
99
# Triggers: Pull request events (opened, reopened, ready for review, closed, synchronize)
@@ -108,7 +108,7 @@ concurrency:
108108
# --------------------------------------------------------------------
109109
# Environment Variables
110110
# --------------------------------------------------------------------
111-
# Note: Configuration variables are loaded from modular .github/env/ files
111+
# Note: Configuration variables are loaded from .env.base and .env.custom files
112112

113113
jobs:
114114
# ------------------------------------------------------------
@@ -117,8 +117,6 @@ jobs:
117117
load-env:
118118
name: 🌍 Load Environment (Base Repo)
119119
runs-on: ubuntu-latest
120-
# Early exit: Skip entire workflow for same-repo PRs (handled by main workflow)
121-
if: github.event.pull_request.head.repo.full_name != github.repository
122120
# No write perms here
123121
permissions:
124122
contents: read
@@ -127,14 +125,14 @@ jobs:
127125
steps:
128126
# ┌─────────────────────────────────────────────────────────────────────┐
129127
# │ SECURITY SCANNERS: This checkout is SAFE despite pull_request_target│
130-
# │ │
131-
# │ Justification: │
128+
#
129+
# │ Justification:
132130
# │ - Only checks out TRUSTED base branch (ref: github.base_ref) │
133131
# │ - NEVER checks out PR head code from untrusted fork │
134132
# │ - Implements recommended two-workflow security pattern │
135133
# │ - Uses sparse checkout (minimal attack surface) │
136134
# │ - No executable code from PR is ever run │
137-
# │ │
135+
#
138136
# │ Pattern: Two-workflow security model (see SECURITY.md) │
139137
# │ References: githubactions:S7631, semgrep:github-actions-checkout │
140138
# └─────────────────────────────────────────────────────────────────────┘

0 commit comments

Comments
 (0)