Skip to content

use newer jax versions on newer python versions; remove GPU requirement #3

use newer jax versions on newer python versions; remove GPU requirement

use newer jax versions on newer python versions; remove GPU requirement #3

Workflow file for this run

name: precommit
on: [push, pull_request]
jobs:
precommit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache pre-commit # taken from https://github.com/pre-commit/action/blob/main/action.yml
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
- uses: astral-sh/setup-uv@v5
with:
version: "0.5.18"
enable-cache: true
- name: Run pre-commit
run: uvx --with pre-commit-uv pre-commit run --show-diff-on-failure --color=always --all-files