Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/changed-files.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# We lack a convenient means of gathering *all* the changes when specializations are passed, so
# a catch-all variable is the easiest workaround.
everything:
everything: &everything
- "**"

# Determines if build actions should occur after static checks are ran. Broadly speaking, these
Expand All @@ -14,6 +14,13 @@ sources:
- deps/**
- tests/**

pre-commit:
- *everything
- '!scripts/**'
- '!deps/*/**'
- '!tests/deps/*/**'
- '!tests/benchmarks/deps/*/**'

# Determines which files are appropriate for running clangd-tidy checks on.
clangd:
- "**/*.{hpp,cpp,inc}"
2 changes: 1 addition & 1 deletion .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Style checks via prek
uses: j178/prek-action@bdca6f102f98e2b4c7029491a53dfd366469e33d # v2.0.4
env:
CHANGED_FILES: '"${{ steps.changed-files.outputs.everything_all_changed_files }}"' # Wrap with quotes to bookend internal quote separators
CHANGED_FILES: '"${{ steps.changed-files.outputs.pre-commit_all_changed_files }}"' # Wrap with quotes to bookend internal quote separators
with:
extra-args: --files ${{ env.CHANGED_FILES }}

Expand Down
Loading