Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify shell in all GitHub Actions workflows when needed #8648

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

FirelightFlagboy
Copy link
Contributor

@FirelightFlagboy FirelightFlagboy commented Oct 7, 2024

Summary

Fixes

  • Fix yq syntax (GA use yq-go not yq (the python wrapper of jq))

Summary
-------

- `shell: bash` was added when a run command used pipes (including command that used `set -e -o pipefail`).

   For the documentation: <https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference>

   Setting `shell` to that value will automatically add the `-o pipefail` (alongside `-e`)

- `shell: bash ... {0}` was used for run commands that used `set ...`

Fixes
-----

- Fix `yq` syntax (GA use `yq-go` not `yq` (the python wrapper of `jq`))
- Fix clippy error in `libparsec/crates/platform_device_loader/tests/archive.rs`
Copy link
Contributor

@mmmarcos mmmarcos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@FirelightFlagboy FirelightFlagboy added this pull request to the merge queue Oct 7, 2024
Merged via the queue into master with commit 6f38e82 Oct 7, 2024
43 of 44 checks passed
@FirelightFlagboy FirelightFlagboy deleted the fix-clippy branch October 7, 2024 16:45
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