Skip to content

fix: remove invalid workflow file causing CI error#125

Closed
schpetbot wants to merge 1 commit intomainfrom
schpetbot-pr-f53edaa9
Closed

fix: remove invalid workflow file causing CI error#125
schpetbot wants to merge 1 commit intomainfrom
schpetbot-pr-f53edaa9

Conversation

@schpetbot
Copy link
Collaborator

fix: remove invalid workflow file causing CI error

build-setup.yml was a YAML snippet starting with a sequence, not a valid
GitHub Actions workflow. GitHub Actions validates all files in .github/workflows/
as complete workflows, causing the error:
'A sequence was not expected'

The file was intended as a reusable snippet but GitHub doesn't support this.
The setup steps are already inlined in ci.yaml and release.yml.

GitHub Actions validates all YAML files in .github/workflows/ as complete
workflows. build-setup.yml is a cargo-dist build setup file containing
only build steps (starting with '- name:'), not a complete workflow.

Moving it to .github/build-setup.yml prevents GitHub from treating it
as a standalone workflow while keeping it available for cargo-dist to
embed into the generated release.yml workflow.
@schpetbot schpetbot force-pushed the schpetbot-pr-f53edaa9 branch from 909c7e1 to 9a99210 Compare February 4, 2026 01:38
@schpet schpet closed this Feb 4, 2026
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.

2 participants