Skip to content

Migrate conda packaging to rattler-build (v1 recipe format) for GitHub Actions CI #9400

Migrate conda packaging to rattler-build (v1 recipe format) for GitHub Actions CI

Migrate conda packaging to rattler-build (v1 recipe format) for GitHub Actions CI #9400

Workflow file for this run

name: Run pre-commit
on:
pull_request:
push:
branches: [master]
permissions: read-all
jobs:
pre-commit:
name: Check
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Set up pip packages
uses: BSFishy/pip-action@8f2d471d809dc20b6ada98c91910b6ae6243f318 # v1
with:
packages: |
codespell
pylint
- name: Checkout DPNP repo
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# use commit hash to make "no-commit-to-branch" check passing
ref: ${{ github.sha }}
- name: Set up python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: '3.14'
- name: Run pre-commit checks
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1