Skip to content

Commit 0282b2c

Browse files
authored
sync(ci): update fortress workflows and mage-x to v1.20.8 (#292)
1 parent 0f6c607 commit 0282b2c

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

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

Lines changed: 4 additions & 4 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.7
39+
MAGE_X_VERSION=v1.20.8
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,8 +61,8 @@ 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.11.1
65-
MAGE_X_GORELEASER_VERSION=v2.14.1
64+
MAGE_X_GOLANGCI_LINT_VERSION=v2.11.2
65+
MAGE_X_GORELEASER_VERSION=v2.14.2
6666
MAGE_X_GOVULNCHECK_VERSION=v1.1.4
6767
MAGE_X_GO_SECONDARY_VERSION=1.24.x
6868
MAGE_X_GO_VERSION=1.24.x
@@ -72,7 +72,7 @@ MAGE_X_STATICCHECK_VERSION=2026.1
7272
MAGE_X_SWAG_VERSION=v1.16.6
7373
MAGE_X_YAMLFMT_VERSION=v0.21.0
7474
MAGE_X_BENCHSTAT_VERSION=v0.0.0-20260211190930-8161c38c6cdc
75-
MAGE_X_MAGE_VERSION=v1.15.0
75+
MAGE_X_MAGE_VERSION=v1.16.0
7676

7777
# ================================================================================================
7878
# 📝 RUNTIME VARIABLES (set by setup-goreleaser action)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# 🪝 PRE-COMMIT TOOL VERSION
2727
# ================================================================================================
2828

29-
GO_PRE_COMMIT_VERSION=v1.7.0
29+
GO_PRE_COMMIT_VERSION=v1.8.0
3030
GO_PRE_COMMIT_USE_LOCAL=false
3131

3232
# ================================================================================================
@@ -52,7 +52,7 @@ GO_PRE_COMMIT_ALL_FILES=true
5252
# 🛠️ TOOL VERSIONS
5353
# ================================================================================================
5454

55-
GO_PRE_COMMIT_GOLANGCI_LINT_VERSION=v2.11.1
55+
GO_PRE_COMMIT_GOLANGCI_LINT_VERSION=v2.11.2
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-security-scans.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999
go-secondary-version: ${{ inputs.go-primary-version }}
100100
go-sum-file: ${{ inputs.go-sum-file }}
101101
enable-multi-module: ${{ env.ENABLE_MULTI_MODULE_TESTING }}
102+
github-token: ${{ secrets.github-token }}
102103

103104
# --------------------------------------------------------------------
104105
# Extract Go module directory from GO_SUM_FILE path
@@ -297,6 +298,7 @@ jobs:
297298
go-secondary-version: ${{ inputs.go-primary-version }}
298299
go-sum-file: ${{ inputs.go-sum-file }}
299300
enable-multi-module: ${{ env.ENABLE_MULTI_MODULE_TESTING }}
301+
github-token: ${{ secrets.github-token }}
300302

301303
# --------------------------------------------------------------------
302304
# Extract Go module directory from GO_SUM_FILE path

.github/workflows/fortress.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ------------------------------------------------------------------------------------
22
# 🏰 GoFortress - Enterprise-grade CI/CD fortress for Go applications
33
#
4-
# Version: 1.7.1 | Released: 2026-02-13
4+
# Version: 1.7.2 | Released: 2026-03-09
55
#
66
# Built Strong. Tested Harder.
77
#

.github/workflows/scorecard.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ jobs:
3232
security-events: write
3333
# Needed to publish results and get a badge (see publish_results below).
3434
id-token: write
35-
# Uncomment the permissions below if installing in a private repository.
36-
# contents: read
37-
# actions: read
35+
# Needed to checkout the repository.
36+
contents: read
3837

3938
steps:
4039
- name: "Checkout code"

0 commit comments

Comments
 (0)