Skip to content

Commit

Permalink
check formatting in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
arnetheduck committed Feb 29, 2024
1 parent 55149ee commit 178c247
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,19 @@ jobs:
make STATIC_LLVM=1 test
- name: Run self-compare
run: make STATIC_LLVM=1 compare

- name: Check nph formatting
# Pin nph to a specific version to avoid sudden style differences.
# Updating nph version should be accompanied with running the new
# version on the fluffy directory.
run: |
VERSION="v0.5.1"
ARCHIVE="nph-linux_x64.tar.gz"
curl -L "https://github.com/arnetheduck/nph/releases/download/${VERSION}/${ARCHIVE}" -o ${ARCHIVE}
tar -xzf ${ARCHIVE}
git ls-files | grep .nim$ | ./nph
git diff --exit-code
- name: Create distribution
run: bash make-dist.sh
- name: Update release
Expand Down

0 comments on commit 178c247

Please sign in to comment.