From 7db824031f7a22539c53c50f2c8f919686985515 Mon Sep 17 00:00:00 2001 From: Nikhil Shenoy Date: Mon, 25 Sep 2023 15:04:52 +0000 Subject: [PATCH] Added pre-commit ci --- .github/workflows/pre-commit-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/pre-commit-ci.yml diff --git a/.github/workflows/pre-commit-ci.yml b/.github/workflows/pre-commit-ci.yml new file mode 100644 index 0000000..b597281 --- /dev/null +++ b/.github/workflows/pre-commit-ci.yml @@ -0,0 +1,15 @@ +# Based on https://github.com/pre-commit/action +name: pre-commit + +on: + pull_request: + push: + branches: [main] + +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.0