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

Add a CI step to run stack build and check lock file #187

Open
dkubb opened this issue Mar 31, 2023 · 0 comments
Open

Add a CI step to run stack build and check lock file #187

dkubb opened this issue Mar 31, 2023 · 0 comments

Comments

@dkubb
Copy link
Collaborator

dkubb commented Mar 31, 2023

The stack-9.2.yaml.lock file can drift out-of-sync, so we should have a CI step that runs the following, failing if the exit-code is non-zero:

STACK_YAML=stack-9.2.yaml stack build --fast

# This will return non-zero if the lock has drifted out-of-sync
git diff --exit-code stack-9.2.yaml.lock
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

No branches or pull requests

1 participant