Skip to content

Commit

Permalink
Merge pull request #34 from lpsinger/pre-commit-action
Browse files Browse the repository at this point in the history
Use official pre-commit GitHub Action
  • Loading branch information
dakota002 authored Aug 16, 2024
2 parents 9f19710 + e69b73b commit 8ebdac2
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
tox:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
Expand Down

0 comments on commit 8ebdac2

Please sign in to comment.