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

chore: use tweag/run-nix-shell #77

Merged
merged 2 commits into from
Dec 13, 2023
Merged

chore: use tweag/run-nix-shell #77

merged 2 commits into from
Dec 13, 2023

Conversation

cgrindel
Copy link
Contributor

@cgrindel cgrindel self-assigned this Dec 11, 2023
@cgrindel cgrindel marked this pull request as ready for review December 12, 2023 17:03
@cgrindel cgrindel requested a review from avdv as a code owner December 12, 2023 17:03
run: |
bazel run //:gazelle --config=${{ matrix.ghc-version }}
bazel run //:gazelle-update-repos --config=${{ matrix.ghc-version }}
bazel test //... --config=${{ matrix.ghc-version }}
Copy link
Member

Choose a reason for hiding this comment

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

I think we should add set -e here, to make the shell exit immediately when the gazelle commands fail. Maybe we could even make this the default in the run-nix-shell action? Github's run step passes --noprofile --norc -eo pipefail to bash by default.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will add the set -e. I agree about having run-nix-shell add certain shell flags. I will add this in a subsequent PR.

@mergify mergify bot merged commit 28bdf2b into main Dec 13, 2023
11 checks passed
@mergify mergify bot deleted the cg/run-nix-shell branch December 13, 2023 16:20
@mergify mergify bot removed the merge-queue label Dec 13, 2023
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