From e0eceb44fb64195d73d6e8fbb16f9e0990bc0570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Uhl=C3=AD=C5=99?= Date: Wed, 15 Jan 2025 08:43:55 +0100 Subject: [PATCH] ci: pin nph version in ci --- .github/workflows/ci.yml | 2 +- tools/scripts/git_pre_commit_format.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb79d4bb..3ef54c5c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: - name: Check `nph` formatting uses: arnetheduck/nph-action@v1 with: - version: latest + version: 0.6.1 options: "codex/ tests/" fail: true suggest: true diff --git a/tools/scripts/git_pre_commit_format.sh b/tools/scripts/git_pre_commit_format.sh index f52c3650..ffe2eca1 100755 --- a/tools/scripts/git_pre_commit_format.sh +++ b/tools/scripts/git_pre_commit_format.sh @@ -1,6 +1,6 @@ #!/bin/sh -echo "Running pre-commit hook" +echo "Formatting changed files with pre-commit hook" # Regexp for grep to only choose some file extensions for formatting exts="\.\(nim\|nims\)$"