Skip to content

experiment

experiment #17

Workflow file for this run

name: check
on: push
jobs:
# Ensure make output is up to date.
make:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- run: make
- name: check for uncommitted changes
run: |
if [[ -n $(git status --porcelain) ]]; then
echo "Error: Generated files are out of date!"
echo "The following files have changes:"
git status --porcelain
echo ""
echo "Please run 'make' locally and commit the updated files."
exit 1
else
echo "Success: All generated files are up to date."
fi
- run: make clean
# Check card integrity.
check:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: clone hashcards repo locally
run: git clone git@github.com:eudoxia0/hashcards.git