Skip to content

Issue #345 part2 imod refactor primod update #1542

Issue #345 part2 imod refactor primod update

Issue #345 part2 imod refactor primod update #1542

Workflow file for this run

name: Lint
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ruff:
name: Ruff
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
pixi-version: "latest"
- name: Prepare pixi
run: pixi run --environment=dev install
- name: Run ruff format
run: |
pixi run format-check
- name: Run ruff check
run: |
pixi run ruff
mypy:
name: Mypy
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
pixi-version: "latest"
- name: Prepare pixi
run: pixi run --environment=dev install
- name: Run mypy on imodc
run: |
pixi run mypy-imodc
- name: Run mypy on primod
run: |
pixi run mypy-primod
check_packages:
name: Check packages
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
pixi-version: "latest"
- name: Prepare pixi
run: pixi run --environment=dev install
- name: Check packages
run: |
pixi run check-package-primod