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

Show diff on failure in cabal-gild check action #605

Merged
merged 2 commits into from
Aug 5, 2024
Merged

Conversation

palas
Copy link
Contributor

@palas palas commented Aug 2, 2024

Changelog

- description: |
    Added diff to output of cardano-gild check action
  type:
  - test           # fixes/modifies tests

Context

It is nice to know what is wrong specifically with the formatting when CI fails, so this PR modifies the cardano-gild action to show a diff when it fails.

I am also using the opportunity to fix a wrong variable name.

Related PR on cardano-cli: IntersectMBO/cardano-cli#857

How to trust this PR

This is what happens when format check fails: Failed run

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. See Running tests for more details
  • Self-reviewed the diff

@palas palas added the enhancement New feature or request label Aug 2, 2024
@palas palas self-assigned this Aug 2, 2024
@palas palas force-pushed the fix-cabal-gild-issues branch 2 times, most recently from 8917a94 to 4c6815a Compare August 2, 2024 16:34
@palas palas changed the title Fix cabal gild issues Show diff on failure in cabal-gild check action Aug 2, 2024
@palas palas enabled auto-merge August 5, 2024 16:02
@palas palas added this pull request to the merge queue Aug 5, 2024
Merged via the queue into main with commit 42ca722 Aug 5, 2024
24 of 25 checks passed
@palas palas deleted the fix-cabal-gild-issues branch August 5, 2024 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants