Skip to content

Commit e15fa2b

Browse files
authored
sync(ci): update tooling versions and artifact retention (#244)
1 parent 060d4f4 commit e15fa2b

File tree

9 files changed

+12
-13
lines changed

9 files changed

+12
-13
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ tmp
6767
.golangci.yml
6868
.goreleaser.yml
6969
.vscode
70-
docs
7170
LICENSE
7271
README.md
7372
codecov.yml

.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.5
35+
GO_COVERAGE_VERSION=v1.3.6
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
@@ -36,7 +36,7 @@
3636
# ================================================================================================
3737

3838
# MAGE-X version
39-
MAGE_X_VERSION=v1.20.4
39+
MAGE_X_VERSION=v1.20.7
4040

4141
# For mage-x development, set to 'true' to use local version instead of downloading from releases
4242
MAGE_X_USE_LOCAL=false
@@ -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.9.0
64+
MAGE_X_GOLANGCI_LINT_VERSION=v2.10.1
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

.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.9.0
55+
GO_PRE_COMMIT_GOLANGCI_LINT_VERSION=v2.10.1
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-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2382,7 +2382,7 @@ jobs:
23822382
with:
23832383
name: coverage-stats-internal
23842384
path: coverage-stats-internal-*.json
2385-
retention-days: 1
2385+
retention-days: 7
23862386

23872387
# --------------------------------------------------------------------
23882388
# Upload coverage history for future runs (WORKING SYSTEM - PRESERVED)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,5 +257,5 @@ jobs:
257257
path: |
258258
.mage-x/ci-results-fuzz.jsonl
259259
fuzz-output.log
260-
retention-days: 1
260+
retention-days: 7
261261
if-no-files-found: ignore

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ jobs:
407407
path: |
408408
.mage-x/ci-results.jsonl
409409
test-output.log
410-
retention-days: 1
410+
retention-days: 7
411411
if-no-files-found: ignore
412412

413413
# --------------------------------------------------------------------
@@ -446,4 +446,4 @@ jobs:
446446
with:
447447
name: coverage-data
448448
path: coverage.txt
449-
retention-days: 1
449+
retention-days: 7

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,5 +416,5 @@ jobs:
416416
with:
417417
name: validation-summary
418418
path: ci-results/
419-
retention-days: 1
419+
retention-days: 7
420420
if-no-files-found: ignore

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
name: 🌍 Load Environment (Base Repo)
119119
runs-on: ubuntu-latest
120120
# Only run for fork PRs - same-repo PRs are handled by pull-request-management.yml
121-
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
121+
if: ${{ github.event.pull_request.head.repo && github.event.pull_request.head.repo.full_name != github.repository }}
122122
# No write perms here
123123
permissions:
124124
contents: read
@@ -178,7 +178,7 @@ jobs:
178178
name: 🔍 Detect Fork PR
179179
runs-on: ubuntu-latest
180180
# Only run for fork PRs - same-repo PRs are handled by pull-request-management.yml
181-
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
181+
if: ${{ github.event.pull_request.head.repo && github.event.pull_request.head.repo.full_name != github.repository }}
182182
permissions:
183183
contents: read
184184
outputs:
@@ -481,7 +481,7 @@ jobs:
481481
name: 📊 Summary
482482
runs-on: ubuntu-latest
483483
# Only run for fork PRs, but always show summary regardless of job status
484-
if: always() && github.event.pull_request.head.repo.full_name != github.repository
484+
if: always() && github.event.pull_request.head.repo && github.event.pull_request.head.repo.full_name != github.repository
485485
needs: [load-env, detect-fork, handle-fork, clean-cache]
486486
steps:
487487
- name: 📄 Write summary

0 commit comments

Comments
 (0)