Skip to content

Set bash -euo pipefail as default shell options in all github actions workflows #549

Description

@grst

We had it at least in the main test.yml script, but it got removed in #433, possibly as a mistake during resolution of a merge conflict.

defaults:
  run:
    # to fail on error in multiline statements (-e), in pipes (-o pipefail), and on unset variables (-u).
    shell: bash -euo pipefail {0}

@flying-sheep, any reason not do have this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions