nim-ffi/.github/workflows/linters.yml
2026-06-10 16:30:30 -03:00

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