From 441be4535cc2b5d21b85cd89e1cc6df5d832201c Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 7 Dec 2022 21:09:32 +0000 Subject: [PATCH] Core: Fix up black workflow action --- .github/workflows/black.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 6bd6fd1af..ff16e5297 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -1,4 +1,13 @@ -- uses: psf/black@stable - with: - options: "--check --diff --verbose" - src: "./volatility3" +name: Black python linter + +on: [push, pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: psf/black@stable + with: + options: "--check --diff --verbose" + src: "./volatility3"