Skip to content

Assure breakthrough time is always cast to ms #1049

Assure breakthrough time is always cast to ms

Assure breakthrough time is always cast to ms #1049

name: Run pre-commit
on:
push:
branches:
- main
- 'version-**'
workflow_call:
permissions:
contents: read
env:
UV_FROZEN: true
jobs:
check-style:
timeout-minutes: 15
runs-on: ubuntu-latest
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@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: true
prune-cache: false
python-version: ${{ matrix.python-version }}
- name: Install ERT with style dependencies
run: |
uv sync --group style
- name: Download shellcheck
run: |
sudo apt-get update
sudo apt-get install shellcheck
- name: Check testkomodo.sh
run: shellcheck -s bash ci/testkomodo.sh
shell: bash
- uses: ./.github/actions/install_dependencies_qt
with:
os: ubuntu-latest
- uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run pre-commit
if: ${{ always() }}
run: |
SKIP=no-commit-to-branch uv run pre-commit run --all-files --hook-stage pre-push --show-diff-on-failure