diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30d23160..27a7e1d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,19 +28,11 @@ jobs: black: runs-on: ubuntu-latest steps: - - name: checkout + - name: Checkout uses: actions/checkout@v2 - - name: Setup Python - uses: actions/setup-python@v1 + - name: Run linter + uses: psf/black@stable with: - python-version: 3.8 - - - name: install black - run: pip install black - - - name: run linter - uses: wearerequired/lint-action@v1 - with: - black: true - black_args: ". --line-length 120 --check" \ No newline at end of file + options: "--line-length 120 --check" + src: "./discord" \ No newline at end of file