From e16a396db9aa0ac707654d8f03c0c8a3b05b7c9f Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 26 Dec 2022 05:13:38 +0000 Subject: fix: try to make actions work --- .github/workflows/format_and_lint.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/format_and_lint.yml b/.github/workflows/format_and_lint.yml index 2f4f41f..cc2b812 100644 --- a/.github/workflows/format_and_lint.yml +++ b/.github/workflows/format_and_lint.yml @@ -4,25 +4,27 @@ on: push: branches: - main, develop - paths: - - '**.py' pull_request: - paths: - - '**.py' + branches: + - main, develop jobs: + format_and_lint: runs-on: ubuntu-latest + steps: - name: Checkout HEAD uses: actions/checkout@v3 with: ref: ${{ github.head_ref }} + - name: Run flake8 uses: microsoft/action-python@0.2.0 with: flake8: true fail_on_error: true + - name: Run yapf uses: mritunjaysharma394/autoyapf@v2 with: -- cgit v1.2.3