Skip to content

Assure breakthrough time is always cast to ms #43181

Assure breakthrough time is always cast to ms

Assure breakthrough time is always cast to ms #43181

Workflow file for this run

name: Type checking
on:
push:
branches:
- main
- 'version-**'
workflow_call:
permissions:
contents: read
env:
UV_FROZEN: true
jobs:
type-checking:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
python-version: ['3.14']
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
filter: tree:0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
with:
enable-cache: true
prune-cache: false
python-version: ${{ matrix.python-version }}
- name: Install ERT and dependencies
run: |
uv sync --group dev --group types
- id: get-date
run: echo "todays_date=$(/bin/date -u '+%Y%m%d')" >> "$GITHUB_ENV"
- uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
with:
path: .mypy_cache
key: mypy-${{ env.todays_date }}
- run: echo ::add-matcher::.github/mypy-matcher.json
- name: Run mypy
run: |
uv run mypy src