From 99620cab62c4808d56494fd1371f46de7c537ede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Fri, 19 Nov 2021 00:37:22 +0100 Subject: [PATCH] Add lint workflow --- .github/workflows/lint.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..251f34d --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,18 @@ +name: "Lint" + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup tools + run: scripts/devsetup + - name: Run linter + run: gdformat .