From f984d2c2e16b8d2567c2f16949f69be2c63cddf2 Mon Sep 17 00:00:00 2001 From: Davis Schirmer Date: Sun, 13 Feb 2022 16:42:04 -0500 Subject: [PATCH] [ci] Add pre-commit GitHub Action workflow https://github.com/pre-commit/action --- .github/workflows/pre-commit.yml | 14 ++++++++++++++ 1 file changed, 14 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..e157632 --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,14 @@ +--- +name: pre-commit +on: + - pull_request + - push +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: "3.10" + - uses: pre-commit/action@v2.0.3