Skip to content

Commit

Permalink
stricter CI (#37)
Browse files Browse the repository at this point in the history
* stricter CI

* fix formatting
  • Loading branch information
arnetheduck authored Feb 2, 2024
1 parent dd146ed commit dc5e13c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ jobs:
- name: Check formatting
run: |
! ./nph --check tests/before || echo "Failed before check"
./nph --check tests/after || echo "Failed after check"
! ./nph --check tests/before
./nph --check tests/after
./nph src
git diff --exit-code || echo "Failed diff"
git diff --exit-code
6 changes: 3 additions & 3 deletions src/phast.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1638,9 +1638,9 @@ when false:
var x: CountTable[string]

addQuitProc proc() {.noconv.} =
for k, v in pairs(x):
echo k
echo v
for k, v in pairs(x):
echo k
echo v

proc newSym*(
symKind: TSymKind,
Expand Down

0 comments on commit dc5e13c

Please sign in to comment.