Fix failing GitHub Actions workflows on main branch #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes all failing GitHub Actions workflows on the main branch by addressing multiple configuration and version issues that were preventing successful CI runs.
Issues Fixed
1. Go Version Incompatibility
The workflows were configured to use Go 1.25, which doesn't exist yet. This caused the golangci-lint action to fail with:
Fix: Updated all workflows and
go.modto use Go 1.23, which is the current stable version.2. Integration Test Health Endpoint Issue
The integration tests were failing because they attempted to access the health endpoint on the wrong port:
Fix: Updated the integration test configuration to use separate ports for the health endpoint (8080) and main server (8443) to avoid port conflicts.
3. Invalid Security Scanner Action
The security workflow was using an invalid GitHub Action:
Fix: Replaced the invalid action with direct installation and execution of gosec using
go install.4. Missing Semantic Release Configuration
The semantic release workflow was failing due to missing configuration:
Fix: Added
.releaserc.jsonconfiguration file with proper branch and plugin settings.5. Outdated Action Versions
Updated several GitHub Actions to their latest stable versions for better compatibility and security:
actions/cache: v3 → v4codecov/codecov-action: v3 → v4golangci/golangci-lint-action: v3 → v6github/codeql-action/upload-sarif: v2 → v3actions/dependency-review-action: v3 → v4Testing
The changes are minimal and focused on configuration fixes without modifying the core application logic. All failing workflows should now pass successfully.
Fixes #6.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.