Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
],
"name": "go-subtree dev container",
"postCreateCommand": "magex lint && magex vet && magex test",
"postStartCommand": "go install github.com/magefile/mage/cmd/magex@latest",
"remoteUser": "vscode",
"runArgs": [
"--cap-drop=ALL",
Expand Down
6 changes: 3 additions & 3 deletions .github/.env.base
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ ARTIFACT_DOWNLOAD_CONTINUE_ON_ERROR=false # Continue workflow execution even i
BENCHMARK_TIMEOUT=20

# Benchmark mode (Options: quick, full, normal)
BENCHMARK_MODE=quick
BENCHMARK_MODE=quick

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

MAGE_X_VERSION=v1.7.5 # https://github.com/mrz1836/mage-x/releases
MAGE_X_VERSION=v1.7.6 # https://github.com/mrz1836/mage-x/releases
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)
Expand Down Expand Up @@ -289,7 +289,7 @@ NANCY_VERSION=v1.0.51 # https://github.com/sonatype-nexus-commu
# ================================================================================================

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

# System Settings
Expand Down
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ tasks:
echo "🛠️ Available magex commands:"
echo " magex test - Run all tests"
echo " magex lint - Run linters"
echo " magex format:fix - Format code"
echo " magex format:fix - Format the code"
echo " magex build - Build the project"
echo " magex help - List all available commands"
echo ""
Expand Down
9 changes: 8 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ version: 2

before:
hooks:
- sh -c 'if [ "$SKIP_GORELEASER_TESTS" = "true" ]; then echo "Skipping tests (SKIP_GORELEASER_TESTS=true)"; else magex test; fi'
- |
sh -c '
if [ "$SKIP_GORELEASER_TESTS" = "true" ]; then
echo "Skipping tests (SKIP_GORELEASER_TESTS=true)"
else
magex test
fi
'
changelog:
sort: asc
filters:
Expand Down
4 changes: 2 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@
"command": "go-pre-commit install",
"detail": "Install go-pre-commit hooks",
"group": "none",
"label": "pre-commit: install",
"label": "go-pre-commit: install",
"presentation": {
"clear": true,
"focus": false,
Expand All @@ -540,7 +540,7 @@
"command": "go-pre-commit run --all-files",
"detail": "Run pre-commit hooks on all files",
"group": "none",
"label": "pre-commit: run",
"label": "go-pre-commit: run",
"presentation": {
"clear": true,
"focus": false,
Expand Down