Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
10 changes: 10 additions & 0 deletions .github/workflows/scripts-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,13 @@
- 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
env:
LC_ALL: C
run: |
make sort-lists
git diff --exit-code
Comment thread Fixed
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):
sort --unique $@ -o $@

Comment thread
LesnyRumcajs marked this conversation as resolved.
.PHONY: sort-lists $(LIST_FILES)

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