Skip to content

Merge pull request #21 from astropy/dependabot/github_actions/dot-git… #11

Merge pull request #21 from astropy/dependabot/github_actions/dot-git…

Merge pull request #21 from astropy/dependabot/github_actions/dot-git… #11

Workflow file for this run

name: CI
'on':
push:
branches:
- main
- 'v*'
tags:
- '*'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: "3.11"
- name: Run pre-commit
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
typing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run tox
uses: lsst-sqre/run-tox@0be7e8464864caa0abeea2fe73246a9261aedc7f # v1.4.1
with:
python-version: "3.11"
tox-envs: "typing"
test:
runs-on: ubuntu-latest
strategy:
matrix:
python:
- "3.9"
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run tox
uses: lsst-sqre/run-tox@0be7e8464864caa0abeea2fe73246a9261aedc7f # v1.4.1
with:
python-version: ${{ matrix.python }}
tox-envs: "py"