From e69b73b9454a2de3f496a846324983ff86bc1802 Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Thu, 15 Aug 2024 11:24:49 -0600 Subject: [PATCH] Use official pre-commit GitHub Action --- .github/workflows/test.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 36963f5..1eac4e7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,19 +8,9 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.12' - - - name: Install dependencies - run: pip install pre-commit poetry - - - name: Run pre-commit checks - run: pre-commit run --all-files + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + - uses: pre-commit/action@v3.0.1 tox: uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1 with: