From 03699f1f86079cb321342fbca5b9b74106ced0c1 Mon Sep 17 00:00:00 2001 From: Kevin Broch Date: Mon, 22 Jan 2024 12:45:35 -0800 Subject: [PATCH] Forgot to add github action for pre-commit check meant to put this in #24 Signed-off-by: Kevin Broch --- .github/workflows/pre-commit.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/pre-commit.yml diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml new file mode 100644 index 0000000..2126ca6 --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,15 @@ +--- +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