From 61345cc169564ed34a779ba9598de66333b3ed63 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Wed, 16 Dec 2020 16:34:53 +0100 Subject: [PATCH] Check syntax of data/special-requirements --- .github/workflows/test-extensions.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test-extensions.yml b/.github/workflows/test-extensions.yml index bb2ae20..1ae5180 100644 --- a/.github/workflows/test-extensions.yml +++ b/.github/workflows/test-extensions.yml @@ -18,6 +18,12 @@ jobs: exit 1 fi rm data/supported-extensions.sorted + sort -o data/special-requirements.sorted data/special-requirements + if ! DIFF="$(diff -u data/special-requirements data/special-requirements.sorted)"; then + printf 'The order of extensions in data/special-requirements is wrong.\nThe list of required changes is:\n\n%s\n' "$DIFF" >&2 + exit 1 + fi + rm data/special-requirements.sorted check_syntax_shell: name: Check shell coding style runs-on: ubuntu-latest