Skip to content

Commit 39fe7ae

Browse files
committed
sync: update 5 files from source repository
1 parent 902177a commit 39fe7ae

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

.devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
],
3131
"name": "go-subtree dev container",
3232
"postCreateCommand": "magex lint && magex vet && magex test",
33+
"postStartCommand": "go install github.com/magefile/mage/cmd/magex@latest",
3334
"remoteUser": "vscode",
3435
"runArgs": [
3536
"--cap-drop=ALL",

.github/.env.base

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ ARTIFACT_DOWNLOAD_CONTINUE_ON_ERROR=false # Continue workflow execution even i
110110
BENCHMARK_TIMEOUT=20
111111

112112
# Benchmark mode (Options: quick, full, normal)
113-
BENCHMARK_MODE=quick
113+
BENCHMARK_MODE=quick
114114

115115
# Test Execution Timeouts
116116
TEST_TIMEOUT=30m # Go test timeout for standard tests
@@ -225,7 +225,7 @@ REDIS_CACHE_FORCE_PULL=false # Force pull Redis images even when cache
225225
# 🪄 MAGE-X CONFIGURATION
226226
# ================================================================================================
227227

228-
MAGE_X_VERSION=v1.7.5 # https://github.com/mrz1836/mage-x/releases
228+
MAGE_X_VERSION=v1.7.6 # https://github.com/mrz1836/mage-x/releases
229229
MAGE_X_AUTO_DISCOVER_BUILD_TAGS=true # Enable auto-discovery of build tags
230230
MAGE_X_AUTO_DISCOVER_BUILD_TAGS_EXCLUDE=race,custom # Comma-separated list of tags to exclude
231231
MAGE_X_FORMAT_EXCLUDE_PATHS=vendor,node_modules,.git,.idea # Format exclusion paths (comma-separated directories to exclude from formatting)
@@ -289,7 +289,7 @@ NANCY_VERSION=v1.0.51 # https://github.com/sonatype-nexus-commu
289289
# ================================================================================================
290290

291291
# Pre-Commit System
292-
GO_PRE_COMMIT_VERSION=v1.3.2 # https://github.com/mrz1836/go-pre-commit
292+
GO_PRE_COMMIT_VERSION=v1.3.4 # https://github.com/mrz1836/go-pre-commit
293293
GO_PRE_COMMIT_USE_LOCAL=false # Use local version for development
294294

295295
# System Settings

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tasks:
2828
echo "🛠️ Available magex commands:"
2929
echo " magex test - Run all tests"
3030
echo " magex lint - Run linters"
31-
echo " magex format:fix - Format code"
31+
echo " magex format:fix - Format the code"
3232
echo " magex build - Build the project"
3333
echo " magex help - List all available commands"
3434
echo ""

.goreleaser.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ version: 2
66

77
before:
88
hooks:
9-
- sh -c 'if [ "$SKIP_GORELEASER_TESTS" = "true" ]; then echo "Skipping tests (SKIP_GORELEASER_TESTS=true)"; else magex test; fi'
9+
- |
10+
sh -c '
11+
if [ "$SKIP_GORELEASER_TESTS" = "true" ]; then
12+
echo "Skipping tests (SKIP_GORELEASER_TESTS=true)"
13+
else
14+
magex test
15+
fi
16+
'
1017
changelog:
1118
sort: asc
1219
filters:

.vscode/tasks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@
526526
"command": "go-pre-commit install",
527527
"detail": "Install go-pre-commit hooks",
528528
"group": "none",
529-
"label": "pre-commit: install",
529+
"label": "go-pre-commit: install",
530530
"presentation": {
531531
"clear": true,
532532
"focus": false,
@@ -540,7 +540,7 @@
540540
"command": "go-pre-commit run --all-files",
541541
"detail": "Run pre-commit hooks on all files",
542542
"group": "none",
543-
"label": "pre-commit: run",
543+
"label": "go-pre-commit: run",
544544
"presentation": {
545545
"clear": true,
546546
"focus": false,

0 commit comments

Comments
 (0)