summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2022-12-26 05:13:38 +0000
committerGitHub <[email protected]>2022-12-26 05:13:38 +0000
commite16a396db9aa0ac707654d8f03c0c8a3b05b7c9f (patch)
tree609222b7221dc3964bb499ec4a9ad3718314500f
parentcfb864068c7c79290554286f22fda26b4a1cf4eb (diff)
fix: try to make actions work
-rw-r--r--.github/workflows/format_and_lint.yml10
1 files 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/[email protected]
with:
flake8: true
fail_on_error: true
+
- name: Run yapf
uses: mritunjaysharma394/autoyapf@v2
with: