From d0040d313d0c80f10ec6848c3b0418a0cfd53975 Mon Sep 17 00:00:00 2001 From: cytopia Date: Sun, 6 Mar 2022 12:58:18 +0100 Subject: [PATCH] Add linter --- .github/workflows/lint-generic.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/lint-generic.yml diff --git a/.github/workflows/lint-generic.yml b/.github/workflows/lint-generic.yml new file mode 100644 index 0000000..960f078 --- /dev/null +++ b/.github/workflows/lint-generic.yml @@ -0,0 +1,25 @@ +name: Lint + +on: + workflow_call: + +jobs: + + # ----------------------------------------------------------------------------------------------- + # JOB (1/1): Lint + # ----------------------------------------------------------------------------------------------- + lint: + name: lint + runs-on: ubuntu-latest + steps: + + - name: "[SETUP] Checkout repository" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Lint + uses: cytopia/shell-command-retry-action@v0.1.2 + with: + command: | + make lint