Skip to content

Commit

Permalink
ci: Add nph workflow (#2247)
Browse files Browse the repository at this point in the history
  • Loading branch information
fox0430 authored Feb 16, 2025
1 parent 553e082 commit f33702a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/nph.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check `nph` formatting

on:
pull_request:
paths:
- '.github/workflows/nph.yaml'
- 'src/**'
- 'tests/**'

jobs:
nph:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check `nph` formatting
uses: arnetheduck/nph-action@v1
with:
version: latest
options: "src/ tests/"
fail: true
suggest: true
7 changes: 7 additions & 0 deletions changelog.d/20250216_150158_github-actions[bot]_nph.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. _#2247: https://github.com/fox0430/moe/pull/2247

Added
.....

- `#2247`_ ci: Add nph workflow

0 comments on commit f33702a

Please sign in to comment.