From 35b558888e58af09e8d2e9143a782924c59a2577 Mon Sep 17 00:00:00 2001 From: Eric Neilsen Date: Fri, 22 Mar 2024 13:05:27 -0700 Subject: [PATCH] pre-commit github workflow --- .github/workflows/ci.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..02ea8ef --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,22 @@ +name: CI + +"on": + merge_group: {} + pull_request: {} + push: {} + +jobs: + lint: + runs-on: ubuntu-latest + timeout-minutes: 5 + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.12" + + - name: Run pre-commit + uses: pre-commit/action@v3.0.0