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
8 changes: 8 additions & 0 deletions .github/workflows/scripts-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,11 @@
- run: corepack enable
- run: yarn --immutable
- run: yarn yaml-check
lists-lint:
runs-on: ubuntu-24.04-arm
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
steps:
Comment thread
LesnyRumcajs marked this conversation as resolved.
- uses: actions/checkout@v4
- name: Sort and verify lists
run: |
make sort-lists
git diff --exit-code
Comment thread Dismissed
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,18 @@ license:
docs:
cargo doc --no-deps

# Lexicographical sort of lists in various config files
LIST_FILES = \
./src/tool/subcommands/api_cmd/test_snapshots_ignored.txt \
./src/tool/subcommands/api_cmd/test_snapshots.txt

sort-lists: $(LIST_FILES)

$(LIST_FILES):
LC_ALL=C sort --unique $@ -o $@

.PHONY: sort-lists $(LIST_FILES)

##
## Memory Profiling
##
Expand Down
Loading
Loading