From ec4601b8bc24815f6d199ccc6be20494ffe23103 Mon Sep 17 00:00:00 2001 From: Jon Zeolla Date: Thu, 30 Nov 2023 15:07:20 -0500 Subject: [PATCH] Add initial linting --- .github/workflows/commit.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index d4247a3..ceee3cf 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -23,6 +23,10 @@ jobs: steps: - name: Checkout the repository uses: actions/checkout@v3 + - name: Lint + run: | + tr -d $'\r' controls/controls_catalog.csv + if ! git diff-index --quiet HEAD --; then echo "Please remove characters from controls/controls_catalog.csv"; exit 1; fi - name: Setup python uses: actions/setup-python@v4 with: