From 86d913fd5fceea5b443360111c31d516e596d2e2 Mon Sep 17 00:00:00 2001 From: Alec Delaney Date: Fri, 29 Dec 2023 14:45:24 -0500 Subject: [PATCH] Fix publish workflow to pull correctly --- .github/workflows/push.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/push.yml diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 0000000..143af91 --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,23 @@ +# SPDX-FileCopyrightText: 2023 Alec Delaney +# SPDX-License-Identifier: MIT + +on: + push + +jobs: + run-pre-commit: + runs-on: ubuntu-latest + steps: + - name: Checkout the repository + uses: actions/checkout@v4 + with: + submodules: true + - name: Install Python 3.X + uses: actions/setup-python@v5 + - name: Install dependencies + run: | + pip install -r requirements.txt + pip install -r requirements-dev.txt + - name: Run pre-commit + run: | + pre-commit run --all-files