codecov-action icon indicating copy to clipboard operation
codecov-action copied to clipboard

main Workflow is cruel to forks

Open jsoref opened this issue 3 months ago • 0 comments

https://github.com/jsoref/codecov-action/actions/runs/8976017868

image

Annotations

7 errors and 3 warnings
run (macos-latest-xlarge)
The job was not started because recent account payments have failed or your spending limit needs to be increased. Please check the 'Billing & plans' section in your settings.
run (macos-latest)
The job was canceled because "macos-latest-xlarge" failed.
run (macos-latest)
The operation was canceled.
run (ubuntu-latest)
The job was canceled because "macos-latest-xlarge" failed.
run (ubuntu-latest)
A task was canceled.
run (windows-latest)
The job was canceled because "macos-latest-xlarge" failed.
run (windows-latest)
The operation was canceled.

https://github.com/codecov/codecov-action/blob/5ecb98a3c6b747ed38dc09f787459979aebb39be/.github/workflows/main.yml#L5-L8

This workflow is set to fail-fast which means either forks have to pony up to pay for xl mac runners or they can't build anything.

Instead of doing that, the xl mac runner should be in its own job (it can be the same file). You could use a reusable workflow (or an action) to share the actual steps.

jsoref avatar May 06 '24 21:05 jsoref