Skip to content

Commit

Permalink
Add diff-check to catch missing Appraisal runs
Browse files Browse the repository at this point in the history
If we forget to run `bundle exec appraisal`, which is not uncommon, it
means we miss when the appraisal files change. This should catch it and
fail the build, reporting back that they changed and hinting at what
should be done.

https://github.com/nickcharlton/diff-check
https://nickcharlton.net/posts/diff-check-github-action
  • Loading branch information
nickcharlton committed Aug 27, 2024
1 parent 2c9e8ca commit 83e32a6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/diff-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: diff-check
on: [push]

jobs:
appraisal:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
- run: bundle install
- uses: nickcharlton/diff-check@main
with:
command: bundle exec appraisal

0 comments on commit 83e32a6

Please sign in to comment.