From 561e983beeba397a3112c68ea26c03129557e2d9 Mon Sep 17 00:00:00 2001 From: Shahul Hameed <10547529+shahthepro@users.noreply.github.com> Date: Fri, 9 Jun 2023 14:33:01 +0400 Subject: [PATCH] Add OETH DApp Linter to CI --- .github/workflows/defi.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/defi.yml b/.github/workflows/defi.yml index e34d15071a..6529448610 100644 --- a/.github/workflows/defi.yml +++ b/.github/workflows/defi.yml @@ -156,6 +156,25 @@ jobs: - run: yarn prettier:check working-directory: ./dapp + dapp-oeth-lint: + name: "OETH DApp Linter" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: "16.x" + cache: "yarn" + cache-dependency-path: dapp-oeth/yarn.lock + + - run: yarn install --frozen-lockfile + working-directory: ./dapp-oeth + + - run: yarn prettier:check + working-directory: ./dapp-oeth + slither: name: "Slither" # As long as we need Python 3.6 here in the test, we can only use up to Ubuntu 20.