Skip to content

Commit

Permalink
Check that regenerating test data is idempotent (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhutchinson authored Jul 24, 2024
1 parent 4b326f5 commit d2efef3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/generated_files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: generatedfiles

on:
push:
branches:
- main
pull_request:
branches:
- main

permissions:
contents: read

jobs:
generatedfiles_job:
runs-on: ubuntu-latest
name: Regenerate derived files
steps:
- name: Check out the repository to the runner
uses: actions/checkout@v4
- name: Regenerate the log test data
run: ./testdata/build_log.sh
- name: Confirm there are no diffs
run: git diff --exit-code

0 comments on commit d2efef3

Please sign in to comment.