Skip to content

Commit bb0aa45

Browse files
authored
ci(nph): run on whole repo (#1862)
1 parent 451c8d6 commit bb0aa45

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/linters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: arnetheduck/nph-action@v1
2323
with:
2424
version: 0.6.1
25-
options: "examples libp2p tests interop tools *.nim*"
25+
options: "./. *.nim*"
2626
fail: true
2727
suggest: true
2828

cbind/ffi_types.nim

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@ type Libp2pCallback* = proc(
1919
callerRet: cint, msg: ptr cchar, len: csize_t, userData: pointer
2020
) {.cdecl, gcsafe, raises: [].}
2121

22-
type
23-
RetCode* {.size: sizeof(cint).}= enum
24-
RET_OK = 0,
25-
RET_ERR = 1,
26-
RET_MISSING_CALLBACK = 2
27-
22+
type RetCode* {.size: sizeof(cint).} = enum
23+
RET_OK = 0
24+
RET_ERR = 1
25+
RET_MISSING_CALLBACK = 2
2826

2927
### End of exported types
3028
################################################################################

0 commit comments

Comments
 (0)