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
2 changes: 1 addition & 1 deletion .github/workflows/fortress-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ jobs:

# Fail the step if benchmarks failed or contained errors
if [ "$BENCH_STATUS" = "failure" ]; then
echo "::error::Benchmark execution failed or contained errors"
echo "::error title=Benchmark Failed::Benchmark execution failed or contained errors (panic, fatal, or timeout) - see job summary for details"
exit 1
fi

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/fortress-code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ jobs:
# --------------------------------------------------------------------
- name: 💾 Restore golangci-lint binary cache
id: cache-golangci-lint-binary
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
with:
path: ~/.cache/golangci-lint-bin
key: ${{ inputs.primary-runner }}-golangci-lint-binary-${{ env.MAGE_X_GOLANGCI_LINT_VERSION }}
Expand Down Expand Up @@ -377,7 +377,7 @@ jobs:
# --------------------------------------------------------------------
- name: 💾 Cache golangci-lint build cache
id: cache-golangci-lint-build
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
with:
path: ~/.cache/go-build
key: ${{ inputs.primary-runner }}-go-build-golangci-${{ env.MAGE_X_GOLANGCI_LINT_VERSION }}-${{ hashFiles('**/*.go') }}
Expand All @@ -389,7 +389,7 @@ jobs:
# --------------------------------------------------------------------
- name: 💾 Cache golangci-lint analysis
id: cache-golangci-lint
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
with:
path: ${{ env.GOLANGCI_LINT_CACHE }}
key: ${{ inputs.primary-runner }}-golangci-lint-analysis-${{ hashFiles('.golangci.json', env.GO_SUM_FILE) }}-${{ steps.golangci-lint-version.outputs.version }}
Expand Down
270 changes: 143 additions & 127 deletions .github/workflows/fortress-completion-finalize.yml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .github/workflows/fortress-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ jobs:
- name: 💾 Restore go-coverage binary cache (production)
id: go-coverage-cache
if: env.GO_COVERAGE_USE_LOCAL != 'true'
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
with:
path: |
~/.cache/go-coverage-bin
Expand All @@ -203,7 +203,7 @@ jobs:
- name: 💾 Restore go-coverage binary cache (local)
id: go-coverage-local-cache
if: env.GO_COVERAGE_USE_LOCAL == 'true'
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
with:
path: |
~/.cache/go-coverage-local
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/fortress-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
# --------------------------------------------------------------------
- name: 💾 Restore golangci-lint analysis cache
id: cache-golangci-lint-analysis
uses: actions/cache/restore@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
with:
path: ${{ env.GOLANGCI_LINT_CACHE }}
key: ${{ inputs.primary-runner }}-golangci-lint-analysis-${{ hashFiles('.golangci.json', env.GO_SUM_FILE) }}-${{ env.GO_PRE_COMMIT_GOLANGCI_LINT_VERSION }}
Expand All @@ -125,7 +125,7 @@ jobs:
- name: 💾 Restore go-pre-commit binary cache
id: go-pre-commit-cache
if: env.GO_PRE_COMMIT_USE_LOCAL != 'true'
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
with:
path: |
~/.cache/go-pre-commit-bin
Expand All @@ -139,7 +139,7 @@ jobs:
# --------------------------------------------------------------------
- name: 💾 Restore go-pre-commit tools cache
id: go-pre-commit-tools-cache
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
with:
path: |
~/.cache/go-pre-commit-tools
Expand Down Expand Up @@ -690,6 +690,8 @@ jobs:

if [ "${CHECKS_EXIT:-0}" -ne 0 ]; then
echo "❌ Pre-commit checks failed with exit code: ${CHECKS_EXIT}"
# Emit GitHub annotation for visibility at top of summary
echo "::error title=Pre-commit Checks Failed::Code quality issues detected - formatting, linting, or other pre-commit checks failed"
exit ${CHECKS_EXIT}
fi

Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/fortress-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:
# --------------------------------------------------------------------
- name: 💾 Cache golangci-lint analysis
id: cache-golangci-lint
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
with:
path: ${{ env.GOLANGCI_LINT_CACHE }}
key: ${{ inputs.primary-runner }}-golangci-lint-analysis-${{ hashFiles('.golangci.json', env.GO_SUM_FILE) }}-${{ inputs.golangci-lint-version }}
Expand All @@ -197,6 +197,7 @@ jobs:
else
echo "❌ GoReleaser configuration is invalid" >&2
echo "goreleaser_config_status=invalid" >> $GITHUB_OUTPUT
echo "::error title=Release Config Invalid::GoReleaser configuration validation failed - see job summary for details"
exit 1
fi
else
Expand All @@ -207,6 +208,7 @@ jobs:
else
echo "❌ GoReleaser configuration is invalid" >&2
echo "goreleaser_config_status=invalid" >> $GITHUB_OUTPUT
echo "::error title=Release Config Invalid::GoReleaser configuration validation failed - see job summary for details"
exit 1
fi
fi
Expand Down Expand Up @@ -319,6 +321,7 @@ jobs:
echo "❌ GoReleaser with godocs via MAGE-X encountered issues" >&2
echo "goreleaser_status=failure" >> $GITHUB_OUTPUT
echo "godocs_published=false" >> $GITHUB_OUTPUT
echo "::error title=Release Failed::GoReleaser with godocs failed - see job summary for details"
exit 1
fi
else
Expand All @@ -331,6 +334,7 @@ jobs:
echo "❌ GoReleaser with godocs via MAGE-X encountered issues" >&2
echo "goreleaser_status=failure" >> $GITHUB_OUTPUT
echo "godocs_published=false" >> $GITHUB_OUTPUT
echo "::error title=Release Failed::GoReleaser with godocs failed - see job summary for details"
exit 1
fi
fi
Expand All @@ -346,6 +350,7 @@ jobs:
echo "❌ GoReleaser via MAGE-X encountered issues" >&2
echo "goreleaser_status=failure" >> $GITHUB_OUTPUT
echo "godocs_published=skipped" >> $GITHUB_OUTPUT
echo "::error title=Release Failed::GoReleaser failed - see job summary for details"
exit 1
fi
else
Expand All @@ -358,6 +363,7 @@ jobs:
echo "❌ GoReleaser via MAGE-X encountered issues" >&2
echo "goreleaser_status=failure" >> $GITHUB_OUTPUT
echo "godocs_published=skipped" >> $GITHUB_OUTPUT
echo "::error title=Release Failed::GoReleaser failed - see job summary for details"
exit 1
fi
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fortress-security-scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ jobs:
# --------------------------------------------------------------------
- name: 💾 Restore govulncheck binary cache
id: govuln-cache
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
with:
path: |
~/.cache/govulncheck-bin
Expand Down
Loading