mirror of
https://github.com/logos-messaging/nim-ffi.git
synced 2026-06-21 00:40:16 +00:00
28 lines
595 B
YAML
28 lines
595 B
YAML
name: Linters
|
|
|
|
on:
|
|
pull_request:
|
|
merge_group:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
nph:
|
|
name: nph
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 2 # In PR, has extra merge commit: ^1 = PR, ^2 = base
|
|
|
|
- name: Check nph formatting
|
|
uses: arnetheduck/nph-action@v1
|
|
with:
|
|
version: 0.7.0
|
|
options: "./. *.nim*"
|
|
fail: true
|
|
suggest: true
|