From 09bb58bd29fec6ec6167e2e6a899e0d91b065293 Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Tue, 23 Jun 2026 23:02:14 -0400 Subject: [PATCH] Bump deps/memory from `79d054ca` to `92a5bfc5` Bumps [deps/memory](https://github.com/foonathan/memory) from `79d054ca` to `92a5bfc5`. - [Commits](https://github.com/foonathan/memory/compare/79d054caaa491d9b6ed7cc65a3a84b495578e6c1...92a5bfc53b97955b3d685af679636e87d0f5d15a) --- updated-dependencies: - dependency-name: deps/memory dependency-version: 92a5bfc53b97955b3d685af679636e87d0f5d15a dependency-type: direct:production ... Fix erroneous CI pre-commit submodule checks Add pre-commit changed-files set Introduce a reusable "everything" anchor and a pre-commit file set in .github/changed-files.yml to exclude scripts, deps, test/deps, and tests/benchmarks/deps submodules from pre-commit checks. Update .github/workflows/builds.yml to pass the pre-commit changed-files output to the prek style-check action (CHANGED_FILES uses pre-commit_all_changed_files). This scopes style checks to the intended files and avoids running them on excluded submodules. --- .github/changed-files.yml | 9 ++++++++- .github/workflows/builds.yml | 2 +- deps/memory | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/changed-files.yml b/.github/changed-files.yml index a532b7f13..f8fb54369 100644 --- a/.github/changed-files.yml +++ b/.github/changed-files.yml @@ -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 @@ -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}" \ No newline at end of file diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 0742e0805..2b47c68cc 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -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 }} diff --git a/deps/memory b/deps/memory index 79d054caa..92a5bfc53 160000 --- a/deps/memory +++ b/deps/memory @@ -1 +1 @@ -Subproject commit 79d054caaa491d9b6ed7cc65a3a84b495578e6c1 +Subproject commit 92a5bfc53b97955b3d685af679636e87d0f5d15a