From acb77847350f554d45a19edf19db1f8e08d1a563 Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Thu, 13 Apr 2023 02:50:33 +0300 Subject: [PATCH] CI: Use py-actions/flake8 --- .github/workflows/unittests.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 25ea7e5ab..7983996c3 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -17,6 +17,11 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + - name: Lint with flake8 + uses: py-actions/flake8@v2 + with: + args: "-v" + path: "jmclient jmbase jmbitcoin jmdaemon scripts" - name: Cache venv id: cache-venv uses: actions/cache@v3 @@ -32,8 +37,6 @@ jobs: ./jmvenv/bin/python -m pip install --upgrade pip ./jmvenv/bin/pip install -r requirements/base.txt ./jmvenv/bin/pip install -r requirements/testing.txt - - name: Lint with flake8 - run: ./jmvenv/bin/flake8 -v jmclient jmbase jmbitcoin jmdaemon scripts - name: Cache bitcoind uses: actions/cache@v3 env: