Skip to content

Commit

Permalink
Use official pre-commit GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger committed Aug 15, 2024
1 parent 9f19710 commit e69b73b
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 e69b73b

Please sign in to comment.