Skip to content

Avoid double-CI

Avoid double-CI #4

name: Lint
on:
push:
branches: [ main ]
pull_request:
jobs:
black:
name: Code formatting with black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
src: ./isosurfaces
version: '23.9.1'
isort:
name: Import sorting with isort
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: isort/isort-action@v1.1.0
with:
isort-version: '5.12.0'
sort-paths: isosurfaces