Skip to content

Commit

Permalink
Add tool names to version prints; revert to proper pre-commit run
Browse files Browse the repository at this point in the history
  • Loading branch information
loostrum committed Jul 28, 2023
1 parent 3b81570 commit 63e4f9d
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ jobs:
- name: Show tool versions
run: |
nvcc --version
g++-${{ env.gcc-version}} --version
clang-format --version
clang-tidy --version
cppcheck --version
cmake-lint --version
cmake-format --version
echo "nvcc: $(nvcc --version)"
echo "g++: $(g++-${{ env.gcc-version}} --version)"
echo "clang-format: $(clang-format --version)"
echo "clang-tidy: $(clang-tidy --version)"
echo "cppcheck: $(cppcheck --version)"
echo "cmake-lint: $(cmake-lint --version)"
echo "cmake-format: $(cmake-format --version)"
- name: Generate compilation database
shell: bash -el {0}
Expand All @@ -85,5 +85,4 @@ jobs:
shell: bash -el {0}
run: |
git diff --name-only ${{ env.precommit_from_ref }}...${{ env.precommit_to_ref }}
pre-commit run -a
#pre-commit run --from-ref ${{ env.precommit_from_ref }} --to-ref ${{ env.precommit_to_ref }}
pre-commit run --from-ref ${{ env.precommit_from_ref }} --to-ref ${{ env.precommit_to_ref }}

0 comments on commit 63e4f9d

Please sign in to comment.