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"