Test against ert 14.0.0rc1 #1574
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: | |
- main | |
tags: "*" | |
pull_request: | |
env: | |
UV_SYSTEM_PYTHON: 1 | |
jobs: | |
lint: | |
name: Linting through pre-commit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install uv | |
uses: astral-sh/setup-uv@v4 | |
with: | |
enable-cache: true | |
cache-dependency-glob: pyproject.toml | |
python-version: '3.12' | |
- name: Install semeio with style deps | |
run: | | |
uv pip install ".[style]" | |
- name: Run pre-commit | |
run: pre-commit run --all-files --show-diff-on-failure |